Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-12-07 10:17:59


Bojan Resnik wrote:
>Consider the following Jamfile:
>
>-------
>import cast ;
>
>exe e : ep e.cpp : <cxxflags>/vmg ;
>pch ep : [ cast _ pcheader : ep.hpp ] ep.cpp ;
>-------
>
>The precompiled header is compiled without the /vmg compiler switch,
>while the source file is correctly compiled with it.
>
>It seems that the PCH doesn't inherit any requirements of the project
>that uses it, which often makes it invalid.

I overlooked this scenario when implementing the PCH support. Sigh! I will
look into this.

Thanks for testing and reporting this issue.

- Reece


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