Boost logo

Boost Users :

Subject: [Boost-users] BOOST_CLASS_TRACKING compilation error : tracking_level not a class or a namespace
From: G, Benjamin (NSN - IN/Bangalore) (benjamin.g_at_[hidden])
Date: 2009-07-16 03:34:31


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.

 



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