19 May
2009
19 May
'09
9:53 p.m.
Sorry for delayed answer, Robert. Yes, moving inclusion of export.hpp out of precompiled header helped. But the question remains... is it by design of Boost.Serialization, that I cann't include export.hpp explicitly or implicitly (through 3rd party library, for example) into application's precompiled header? Or should I claim Visual Studio compiler for the issue? Thanks for your help. Robert Ramey wrote:
Sorry, I didn't read your post carefully enough.
Try the following:
In stdafx.h:
#include
#include #include #include //In SomeClass.cpp: #include "stdafx.h" #include "SomeClass.h" #include
BOOST_CLASS_EXPORT(CSomeClass)