From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-23 08:40:32
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk