Hi,

 

I want to disable tracking because of the now somewhat famous (STATIC_ASSERT compilation errors).

I have a few classes within a namespace in a header file. For serialization of these, I want to disable tracking so I placed the macros:

 

BOOST_CLASS_TRACKING(mynamespace::myClassA, boost:serialization::track_never);

BOOST_CLASS_TRACKING(mynamespace::myClassB, boost:serialization::track_never);

 

outside mynamespace.

 

For this I am getting compilation errors saying :

 

‘struct boost::serialiazation::tracking_level<mynamespace::myClassA>::type’ is not a class or a namespace.

 

I’ve included the boost header files, etc. in my header file.

 

What am I missing?

 

All help appreciated.

 

- Benjamin Jacob.