28 Nov
2004
28 Nov
'04
8:27 p.m.
Jeffrey Holle wrote:
The problem is no matter what position I place this include file in this *.h file, I get the following error. boost/serialization/shared_ptr.hpp:26:2: #error "include
first This is a self reference, what is it trying to say?
In other words, what do I have to include before boost/serialization/shared_ptr.hpp to make it happy?
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'. Hope that helps. Daniel