Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-05 02:42:17

On Friday 05 October 2007 10:25:03 Johan Nilsson wrote:
> Hi,
> after attempting to use precompiled headers toghether with gcc 4.1.2, I
> figured I might as well post my "findings" here.
> Pre-4.2.0 gcc can't handle pch and anonymous namespaces in headers, ref:
> This makes it virtually impossible to use pch toghether with e.g.
> Boost.Lambda, Boost.Parameter to build programs with multiple translation
> units.
> Perhaps a note of this could be added to the BBv2 pch docs?

Possibly, thanks for letting know.

> Also - is it possible to disable pch using conditional requirements, making
> the pch rule effectively returning a "null" target?

The <pch>off feature will have that effect.

- Volodya

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