|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-12-20 16:20:32
On Thursday 11 October 2007 12:25:42 Johan Nilsson wrote:
> error: in Jamfile</path/to/bbv2/example/pch>: pch target name `pch2' should
> be the same as the base name of header file `include/pch.hpp'
> ---
>
> I don't know if this is an issue with the gcc compiler itself, or with the
> gcc toolset pch support implementation.
As already said, it's gcc limitation. I've added that to docs, as well
as the link to issue with anonymous namespaces you've mentioned.
> > And run "bjam -n pch=off" (on gcc/linux), I do see -Ifoobar on the
> > command line. Do you have a small example where this is not
> > working?
>
> I'll have to get back to that. IIRC I only saw the problem when the target
> using pch was a subproject, and I invoked the build from the project root
> directory.
Have you managed to create a reproducible test case for me to debug?
- Volodya
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