From: Bojan Resnik (resnikb_at_[hidden])
Date: 2006-04-26 05:52:06
> Any comments on below?
> > Hi!
> > Can somebody update me on the state of PCH/msvc? Are there any docs how to
> > use them? Any known issues?
> > Basically, I'm trying to find out if this feature should be included in
> > release notes for M11, or left for M12 (to appear together with PCH/gcc)
> > TIA,
> > Volodya
The biggest issue that I have with PCHs is that the requirements of
the main target are not propagated to the PCH. For example:
import cast ;
pch mypch : [ cast _ pcheader : pch.hpp ] pch.cpp ;
exe hello : mypch main.cpp
main.cpp will be compiled with ABC defined, while pch.cpp will not.
This gets more problematic if the exe uses other libraries which have
usage requirements, since these are not propagated either.
-- Bojan Resnik
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