Opened 12 years ago
Closed 12 years ago
#4172 closed Bugs (fixed)
bind/placeholders.hpp workaround for multiply defined anon namespace broken in gcc 4.1
Reported by: | Owned by: | Peter Dimov | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | bind |
Version: | Boost 1.39.0 | Severity: | Problem |
Keywords: | Cc: |
Description
in bind/placeholders.hpp there is a workaround for compiled headers sharing anonymous name space information causing multiply defined errors with placeholders
see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29085
Unfortunately the ifdef for activating the workaround in boost/bind/placeholders.hpp is incorrect as the bug was fixed in gcc 4.2 and still exists in gcc 4.1
The check
defined(GNUC) && (GNUC * 100 + GNUC_MINOR == 400)
should be replaced with
defined(GNUC) && (GNUC * 100 + GNUC_MINOR < 420)
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [62251]) Fix version check, as g++ 4.1 still has the PCH bug. Refs #4172.