boost serialization compile warnings

Hi
Does anyone know what these compiler warnings mean? I get them when I try to
serialize a non-constant object. If I copy my object into a const, and then
serialize, the warnings go away. I also get them from the demo. I looked at
check.hpp, and it refers you to the rationale, but I see no explanation of
'object tracking' there.
/mnt/saxnot3/bhaddow/boost/include/boost/mpl/print.hpp: In instantiation of
‘boost::mpl::print
’: /mnt/saxnot3/bhaddow/boost/include/boost/serialization/static_warning.hpp:92: instantiated from ‘boost::serialization::static_warning_test
’ /mnt/saxnot3/bhaddow/boost/include/boost/archive/detail/check.hpp:98: instantiated from ‘void boost::archive::detail::check_object_tracking() [with T = Josiah::FVector]’
regards Barry

--- On Fri, 6/18/10, Barry Haddow
From: Barry Haddow
Subject: [Boost-users] boost serialization compile warnings To: boost-users@lists.boost.org Date: Friday, June 18, 2010, 2:21 PM Hi Does anyone know what these compiler warnings mean? I get them when I try to serialize a non-constant object. If I copy my object into a const, and then serialize, the warnings go away. I also get them from the demo. I looked at check.hpp, and it refers you to the rationale, but I see no explanation of 'object tracking' there.
'Object Tracking' is under 'Reference | Special Considerations' in the documentation. I recently ran into the same warning and used BOOST_CLASS_TRACKING() to remove it.
/mnt/saxnot3/bhaddow/boost/include/boost/mpl/print.hpp: In instantiation of ‘boost::mpl::print
’: /mnt/saxnot3/bhaddow/boost/include/boost/serialization/static_warning.hpp:92: instantiated from ‘boost::serialization::static_warning_test
’ /mnt/saxnot3/bhaddow/boost/include/boost/archive/detail/check.hpp:98: instantiated from ‘void boost::archive::detail::check_object_tracking() [with T = Josiah::FVector]’ regards Barry
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Barry Haddow
-
Political Confusion