Boost logo

Boost Users :

From: Filip Peters (filippeters_at_[hidden])
Date: 2008-04-01 15:59:53


Hi All,
I'm upgrading some code from 1.34 to 1.35.
I seem to have problem with BOOST_CLASS_EXPORT macro...

according to the help files:
http://www.boost.org/doc/libs/1_35_0/libs/serialization/doc/special.html
>>>>If no archive headers are included - no code should be instantiated. This will permit BOOST_CLASS_EXPORT to be a permanent part of the my_class.hpp .<<<<

my code is structured like that, header file for each class, this also has the export macro,
one dll contains the archive includes (#include <boost/archive/binary_iarchive.hpp>), other dll's don't contain the archive code, but do need to use my classes...

Now, the other dll's can't compile anymore, I get compile errors like:
boost\boost\serialization\type_info_implementation.hpp(48) : error C2027: use of undefined type 'boost::serialization::extended_type_info_impl<T>'

some info:
boost 1.35,
visual studio 2005, sp1

Are there any obvious changes to the serialization code that necessitate changes?

thanks,
Filip Peters

      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com



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