Boost logo

Boost Users :

Subject: [Boost-users] [Serialization] BOOST_CLASS_EXPORT_GUID macro failed to compile with C2888 error.
From: Vitaly Dolya (vitaly_at_[hidden])
Date: 2009-05-12 21:00:21


Hi, All!

BOOST_CLASS_EXPORT_GUID macro failed to compile with error:
error C2888:
'boost::archive::detail::`anonymous-namespace'::init_guid<CSomeClass>' :
symbol cannot be defined within namespace 'anonymous-namespace'.
Same code compiles properly using boost 1.37.
Looks like a bug to me.

Using:
- boost 1.39
- Microsoft Visual Studio 2008 SP1


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