Re: [Boost-users] Serialization using BOOST_CLASS_EXPORT_GUID

When class is XXX_EXPORT-ed the code is generated for each included archive header. This is explained somewhere in the docs, probably near BOOST_CLASS_EXPORT macro description. So to avoid XML-related code generation don't #include unneeded archives Sincerely, Pavlo Korzhyk. I'm not sure what "implicit generation of XML-Archive code" refers to.
Code is generated only for those archive classes actually used.
RObert Ramey
"Oliver Kania"
wrote in message news:1262c4ee0711270804o50863f90l98f47fa7b2597005@mail.gmail.com... Hello ! when using BOOST_CLASS_EXPORT_GUID, is there an option to disable implicit generation of XML-Archive code. I have quite a lot of serialization going on and want to save myself some headaches connected to XML archives.

Thanks, I noticed that I accidentally included the XML-headers in the
main.cpp file.
On Nov 27, 2007 11:54 PM, Pavlo Korzhyk
When class is XXX_EXPORT-ed the code is generated for each included archive header. This is explained somewhere in the docs, probably near BOOST_CLASS_EXPORT macro description. So to avoid XML-related code generation don't #include unneeded archives
Sincerely, Pavlo Korzhyk.
I'm not sure what "implicit generation of XML-Archive code" refers to.
Code is generated only for those archive classes actually used.
RObert Ramey
"Oliver Kania"
wrote in message news:1262c4ee0711270804o50863f90l98f47fa7b2597005@mail.gmail.com... Hello ! when using BOOST_CLASS_EXPORT_GUID, is there an option to disable implicit generation of XML-Archive code. I have quite a lot of serialization going on and want to save myself some headaches connected to XML archives. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Oliver Kania
-
Pavlo Korzhyk