Re: [Boost-users] [serialization] link error and exception onget_key

Thanks, I had both macros in the header file. I moved the BOOST_CLASS_EXPORT
macro to the cpp file and that seems to have fixed it. Now I just need to
get things working in my own code.
Thanks again.
does the header file of polymorphic_derived1's include the following?
BOOST_CLASS_TYPE_INFO(
polymorphic_derived1,
extended_type_info_no_rtti

I just separated things out and things seemed to work fine. The only thing
that might
or might not be an issue is header order:
#include
::type::get_const_instance().get_key(); }
Notice I specified extended_type_info_no_rtti.hpp before export.hpp. If I
remember
correctly, if no type id system header is specified before export is
encountered
the system may take the rtti one as the default. Since we're not using
defaults
in this example, its probably not an issue.
As far as I know, no one has ever asked a question about using EXPORT
without
rtti before - at least no one has ever had any questions about it. You may
be
treading new ground here.
Robert Ramey
"Daniel Roberts"
participants (2)
-
Daniel Roberts
-
Robert Ramey