29 Nov
2004
29 Nov
'04
10:21 p.m.
"Daniel James" wrote:
boost/serialization/shared_ptr.hpp:26:2: #error "include
first Looking at the source code, you have to include boost/serialization/shared_ptr.hpp before boost/shared_ptr.hpp.
In case you're curious, there's been a recent thread about the implementation of this on the boost development list with the subject 'shared_ptr and serialization'.
The same problem yesterday ;-) The discussion is: http://lists.boost.org/MailArchives/boost/msg02559.php and the macro HACK_SERIALIZATION_EXPORT_SHARED_POINTER works. BOOST_SHARED_POINTER_EXPORT should cover functionality of HACK_SERIALIZATION_EXPORT_SHARED_POINTER. /Pavel