Date: 2006-10-27 10:53:19
I'm just starting some tests of the PCH functionnalities of bbv2 and I'm
facing with the following problem :
I have a lib, compiled with pch :
: # sources
: # requiremnts
This works fine, which is already nice !
Then I use libfoo in an exe target :
The compilation of main.cpp fails with the following message :
fatal error C1010: unexpected end of file while looking for precompiled
header. Did you forget to add '#include "foo_pch.h"' to your source?
But actually, the compiler should not be looking for PCH, since my
main.cpp does not need any of the headers used by the lib. It seems that
the -Yu flag is set/propogated while, IMO, it should not. So is this
I'm using a fresh checkout from CVS.
Thank you for yout help,
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk