"RIVASSEAU Jean Noel" wrote in message
news:87F60F7FA02FF749AFB02BD9FCAA6B04DA7774@naserv31.nanterre.oberthurcs.com...
Hello Robert,
Thanks for your reply. However you did not understand the problem. I read
the documentation and understood the purpose of BOOST_EXPORT as explained in
the documentation, and as reexplained in your last mail. The problem is at
linking, but is not one of undefined reference (template not instantiated),
but, on the other hand, *a multiple definition problem.*
If, as suggested, you move BOOST_EXPORT to the class header, even if you
move the archive headers before the serialization/export header, you will
have multiple instantiations of the same template. This is because every
time you include the serialization class header in your program there is
some code instantiation, since the EXPORT is in that file.
*** Hmmm - I'll look into this. I would have expected that additional code
would be generated if and only if