Boost logo

Boost Users :

From: Yohann DOS SANTOS (yg-boost-users_at_[hidden])
Date: 2003-09-01 10:51:10


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<int, std::allocator<int>>')
(instantiating: 'std::__vector_imp<int, std::allocator<int>, l>')
vector line 729 ompile assert<bool(sizeof(T) == sizeof(typename
Metrowerks::strore_as<T>;;type))>

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 <msl_utility> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net