[Boost-bugs] [Boost C++ Libraries] #10695: Boost.Locale fails under glibc < 2.3.4

Subject: [Boost-bugs] [Boost C++ Libraries] #10695: Boost.Locale fails under glibc < 2.3.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-24 16:08:26


#10695: Boost.Locale fails under glibc < 2.3.4
------------------------------+---------------------
 Reporter: dottedmag@… | Owner: artyom
     Type: Patches | Status: new
Milestone: To Be Determined | Component: locale
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 Boost.Locale includes clocale, which under Linux includes libintl.h, which
 is broken in glibc < 2.3.4 if optimization is requested.

 This can be worked around by undefining __OPTIMIZE__ macro before
 including clocale.

 While this is a ridiculuously old glibc, this single patch makes Boost
 1.56 to compile succesfully on a Debian Lenny (!) with gcc 4.9 from NetBSD
 pkgsrc.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10695>
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:17 UTC