[serialization] std::set compile errors

Robert, boost 1.32, with VC7.1 I'm getting compiler errors in two unrelated translation units both dealing with std::set<std::string> data members. I've gone through and ensured that i've #include'd the <set.hpp> and <string.hpp> headers from boost/serialization. Any ideas on what might be causing this problem? This has worked fine previously with boost 1.31 and serialization20 version of the library. Why would the 3 argument overload not be found? Below are the (beginnings of the ) related compiler errors. Thanks, Jeff ======================== C:\boost\boost_1_32_0\boost\serialization\split_free.hpp(55) : error C2780: 'void boost::archive::load(Archive &,T &)' : expects 2 arguments - 3 provided C:\boost\boost_1_32_0\boost\archive\detail\iserializer.hpp(514) : see declaration of 'boost::archive::load' C:\boost\boost_1_32_0\boost\serialization\split_free.hpp(54) : while compiling class-template member function 'void boost::serialization::free_loader<Archive,T>::invoke(Archive &,T &,const unsigned int)' with [ Archive=boost::archive::text_iarchive, T=std::set<std::string> ] .... ======================== C:\boost\boost_1_32_0\boost\serialization\split_free.hpp(55) : error C2780: 'void boost::archive::load(Archive &,T &)' : expects 2 arguments - 3 provided C:\boost\boost_1_32_0\boost\archive\detail\iserializer.hpp(514) : see declaration of 'boost::archive::load' C:\boost\boost_1_32_0\boost\serialization\split_free.hpp(54) : while compiling class-template member function 'void boost::serialization::free_loader<Archive,T>::invoke(Archive &,T &,const unsigned int)' with [ Archive=boost::archive::binary_iarchive, T=std::set<std::string> ] ....
participants (1)
-
Jeff Flinn