$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] gcc and precompiled headers
From: Jeroen van der Wulp (J.v.d.Wulp_at_[hidden])
Date: 2008-10-31 19:22:33
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?
Thanks for any help,
Jeroen