[Boost-bugs] [Boost C++ Libraries] #4173: bind/placeholders.hpp workaround for multiply defined anon namespace broken in gcc 4..1

Subject: [Boost-bugs] [Boost C++ Libraries] #4173: bind/placeholders.hpp workaround for multiply defined anon namespace broken in gcc 4..1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-30 21:50:51


#4173: bind/placeholders.hpp workaround for multiply defined anon namespace broken
in gcc 4..1
--------------------------------+-------------------------------------------
 Reporter: joequant@… | Owner: pdimov
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: bind
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
--------------------------------+-------------------------------------------
 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)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4173>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC