Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2007-01-05 10:30:12

Support Requests item #1628807, was opened at 2007-01-05 15:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Miguel (gorogoro)
Assigned to: Nobody/Anonymous (nobody)
Summary: serialization and namespaces incompatability

Initial Comment:

I'm trying to use boost serialization library in my project.

I've lanched jambuild with no problems and I have the library working. But there is a stress using namespace.
My classes are all inside a namespace and when I try to use:
BOOST_CLASS_TRACKING(A, boost::serialization::track_never)

where A is:

namespace FlowEngine
  class A
     template<class Archive>
     void serialize(Archive & ar, const unsigned int version)
       ar & dumbf;
       ar & dumbi;
     int dumbi;
     float dumbf;
     A():dumbi(12), dumbf(69.69f){ }

     A(int dumb1, float dumb2) : dumbi(dumb1), dumbf(dumb2){ }

BOOST_CLASS_TRACKING(A, boost::serialization::track_never)




I get this compile errors:
error C2888: 'boost::serialization::tracking_level<FlowEngine::A>' : symbol cannot be defined within namespace 'FlowEngine'

I'm using VC-80 setup.

Is there a way to turn around the problem??


You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at