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
(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

And just above the error line, in the vector file :

// Error : illegal use of incomplete struct/union/class
// This means that the store_as table in <msl_utility> is not set
// 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, kalb at, bjorn.karlsson at, gregod at, wekempf at