
14 Jul
2011
14 Jul
'11
6:24 p.m.
Hi everyone. Is <boost/strong_typedef.hpp> obsolete? Compiling this code: // -- cut --- #include <boost/strong_typedef.hpp> #include <boost/archive/binary_oarchive.hpp> // -- cut --- gives: 1>E:\Libraries\boost\boost/serialization/strong_typedef.hpp(45): warning C4005: 'BOOST_STRONG_TYPEDEF' : macro redefinition 1> E:\Libraries\boost\boost/strong_typedef.hpp(45) : see previous definition of 'BOOST_STRONG_TYPEDEF' Does one need to use <boost/serialization/strong_typedef.hpp> instead?