Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2006-10-08 04:25:23

> > I also ran the test with the command lines
> > msvc-6.0
> > msvc-7.1
> > msvc-8.0
> > and they completed fine, after I patched to use #include
> > "pch.hpp" instead of #include <pch.hpp>. The patch is also attached.
> Can you check if changing:
> cpp-pch pch : pch.hpp : <toolset>msvc:<source>pch.cpp ;
> to
> cpp-pch pch : pch.hpp : <toolset>msvc:<source>pch.cpp <include>. ;
> instead of changing the form of includes fixes the problem?

  Indeed, this does fix the problem. Does this mean that pch still
does not inherit the requirements of its parent target (in this case
hello executable)?

  There is still the problem with pch that sometimes the source that
creates the precompiled header file is compiled with incorrect
commands (please see
  Franz Schnyder suggested a patch to msvc.jam that fixes the problem,
and I am attaching a slighltly modified version of his patch that is
made against the current CVS head.

Bojan Resnik

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at