Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-10-08 04:13:06

On Sunday 08 October 2006 12:01, Bojan Resnik wrote:

> > I've also committed automated test for PCH functionality, which works on
> > gcc.
> >
> > I was no able to test with msvc, although I carefully looked at command
> > lines, and they look correct. I'd appreciate if somebody test this on
> > msvc, and try running the '' test as well.
> >
> > Finally, an example 'pch' was added to the example directory.
> >
> > - Volodya
> Hi, Vladimir.
> I ran the tests today with CVS head, using all versions of MSVC on
> my machine. The commands were
> set DO_DIFF=diff
> msvc-6.0 > msvc-6.0.txt 2>&1
> msvc-7.1 > msvc-7.1.txt 2>&1
> msvc-8.0 > msvc-8.0.txt 2>&1
> There are errors and failed tests, but the results are pretty much
> the same with all these compilers. Attached is the MSVC 8 output.

Hi Bojan,
thanks for trying. In fact, I would not expect any direct breakage with Boost
tests, just because we don't enable PCH for Boost itself, but it's
reassuring to know I did not accidentally broken something else.

> 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 ;


   cpp-pch pch : pch.hpp : <toolset>msvc:<source>pch.cpp <include>. ;

instead of changing the form of includes fixes the problem?


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