Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-08-27 17:04:59

Bugs item #1274839, was opened at 2005-08-27 18:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: functional
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Gruenke (mgruenke)
Assigned to: Mark Rodgers (mark_rodgers)
Summary: bind/placeholders.hpp breaks GCC 3.4 + precompiled headers

Initial Comment:
Like a number of other compilers, GCC (version 3.4.3)
appears to have problems related to precompiled headers
that contain anonymous namespaces - such as the one in
bind/placeholders.hpp. There seems to be some
consensus that it currently does have issues in this
area (see

I noticed the workarounds in bind/placeholders.hpp
(Boost version 1.33.0) for other compilers, and tried
them with the above version of GCC. I discovered that
only the work-around using static inline wrapper
functions (i.e. the one for Borland compilers) seems to

I've only encountered this problem in
bind/placeholders.hpp. However, this problem could
presumably exist anywhere anonymous/unnamed namespaces
are used.

This seems to be a one-line fix. I'll submit a patch
file, separately.


You can respond by visiting:

SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at