Re: [Boost-bugs] [Boost C++ Libraries] #7979: atomic library compilation error on 1.53.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7979: atomic library compilation error on 1.53.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-27 17:41:43


#7979: atomic library compilation error on 1.53.0
-------------------------------------+-------------------------------------
  Reporter: | Owner: timblechmann
  victor.hiairrassary.ml@… | Status: closed
      Type: Bugs | Component: atomic
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.53.0 | Keywords: atomic compilation
Resolution: fixed | error
-------------------------------------+-------------------------------------

Comment (by hongli@…):

 I confirm david.heidelberger's problem. I can reproduce it on today's Arch
 Linux release (2013-10-27), g++ 4.8.2, Boost 1.54.0, glibc instead of
 ulibc.

 The problem is still related to the _XOPEN_UNIX definition. It causes
 atomic.h to typedef "atomic<uintptr_t> atomic_uintptr_t". However,
 uintptr_t is not defined. This is because boost/cstdint.hpp does not
 include stdint.h due to this line:

     #if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) ||
 defined(__GLIBC_HAVE_LONG_LONG))

 I don't know what's the proper way to fix this problem. Defining
 __GLIBC_HAVE_LONG_LONG works along the problem though.

 By the way, there is a duplicate here:
 https://svn.boost.org/trac/boost/ticket/8973

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7979#comment:8>
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:14 UTC