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?
Dmitry Vinogradov wrote:
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?
yes Robert Ramey
participants (2)
-
Dmitry Vinogradov
-
Robert Ramey