CodeWarrior PS2, Boost, & STL
Hello Boost Users,
When i try to compile a class that use a vector with CodeWarrior for PS2
R3.03, i have this error message :
Error : illegal use of incomplete struc/union/class
'Metrowerks::compile_assert<0>'
(instantiating: 'std::vector
In article
Hello Boost Users,
When i try to compile a class that use a vector with CodeWarrior for PS2 R3.03, i have this error message :
Error : illegal use of incomplete struc/union/class 'Metrowerks::compile_assert<0>' (instantiating: 'std::vector
') (instantiating: 'std::__vector_imp ') vector line 729 ompile assert And just above the error line, in the vector file :
// Error : illegal use of incomplete struct/union/class 'Metrowerks::compile_assert<0>' // This means that the store_as table in
is not set correctly. // sizeof(T) == sizeof(typename Metrowerks::store_as<T>::type must be true. The code compiles and works perfectly with VC6 sp5 on PC and XBOX.
Thanks for any help.
This error indicates that one of USHRT_MAX, UINT_MAX and/or ULONG_MAX is
incorrectly set in gcc's
participants (2)
-
Howard Hinnant
-
Yohann DOS SANTOS