Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#36557 - compilation of a program using boost breaks
Attached to Project:
Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Friday, 16 August 2013, 06:44 GMT
Last edited by Dave Reisner (falconindy) - Friday, 16 August 2013, 20:00 GMT
Opened by Andreas Baumann (andreas_baumann) - Friday, 16 August 2013, 06:44 GMT
Last edited by Dave Reisner (falconindy) - Friday, 16 August 2013, 20:00 GMT
|
DetailsDescription:
/usr/include/boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared in this scope typedef atomic<uintptr_t> atomic_uintptr_t; Additional info: * boost and boost-libs: 1.54.0-2 * glibc 2.18-1 There is an upstream bug reported: https://svn.boost.org/trac/boost/ticket/8973 The break is most likely due to the upgrade of glibc. Anybody else experiencing problems with boost? |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 16 August 2013, 20:00 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#36566
Friday, 16 August 2013, 20:00 GMT
Reason for closing: Duplicate
Additional comments about closing:
#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
..
# else
# include <stdint.h>
So stdint.h is never included.
__GLIBC_HAVE_LONG_LONG has been deprecated so it is never defined.
This is fixed in current trunk of boost:
http://svn.boost.org/svn/boost/trunk/boost/cstdint.hpp
suggesting a backport of the following condition:
#if defined(BOOST_HAS_STDINT_H) \
&& (!defined(__GLIBC__) \
|| defined(__GLIBC_HAVE_LONG_LONG) \
|| (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))