
23 Jun
2005
23 Jun
'05
1:40 p.m.
Marcin Tustin wrote:
How? Clearly, if I include base_object.hpp in a header, I cannot obey the above rule. Ok leaving just:
#include <boost/serialization/access.hpp> #include <boost/serialization/split_member.hpp> #include <boost/serialization/base_object.hpp>
in my header, and using the mandated includes order in .cpp file, I still get the same error.
What should we do next?
I put the archive headers in my stdafx.h, which is a header included as the first include in every file. This ensures that the archive headers are included before the any serialization headers.
Well, I don't have stdafx.h and I don't want to have one "includes-all" header. Further, as I mention both problems persist even if I rearrange includes order. - Volodya