Opened 8 years ago
Closed 5 years ago
#10695 closed Patches (fixed)
Boost.Locale fails under glibc < 2.3.4
Reported by: | Owned by: | Artyom Beilis | |
---|---|---|---|
Milestone: | To Be Determined | Component: | locale |
Version: | Boost 1.56.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Link to libintl issue: http: lists.kde.org/?l=kdevelop&m=102345470023715&w=2 (Trac thinks this is a spam, so link b0rked).
Link to pull request: https: github.com/boostorg/locale/pull/4