Boost logo

Boost Users :

Subject: [Boost-users] boost serialization compile warnings
From: Barry Haddow (bhaddow_at_[hidden])
Date: 2010-06-18 14:21:18


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<boost::serialization::BOOST_SERIALIZATION_STATIC_WARNING_LINE<98>
>’:
/mnt/saxnot3/bhaddow/boost/include/boost/serialization/static_warning.hpp:92:
instantiated from ‘boost::serialization::static_warning_test<false, 98>’
/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 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