$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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