$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] gcc and precompiled headers
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-01 04:23:26
On Saturday 01 November 2008 02:22:33 Jeroen van der Wulp wrote:
> Hello Everyone,
>
> I'm using Boost Build v2 from Boost trunk. There seems to be a small
> problem with gcc and precompiled headers in combination with
> <threading>multi. The threading options are not added to the compile
> command of the header. The result is that -pthread (on Linux) is not
> added to the command, in turn _REENTRANT is not defined in the context
> when precompiling the header making it useless (invalid in gcc terminogy).
>
> Do I overlook something?
Hi Jeroen,
you have found a breakage in trunk version. I've just checked in a fix:
https://svn.boost.org/trac/boost/changeset/49504
Thanks,
Volodya