Re: [Boost-bugs] [Boost C++ Libraries] #8731: __GLIBC_HAVE_LONG_LONG define has been dropped from glibc in 2.17

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8731: __GLIBC_HAVE_LONG_LONG define has been dropped from glibc in 2.17
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-19 23:59:36


#8731: __GLIBC_HAVE_LONG_LONG define has been dropped from glibc in 2.17
-------------------------------+-------------------------
  Reporter: pmachata@… | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: config
   Version: Boost 1.55.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+-------------------------

Comment (by anonymous):

 The patch in https://svn.boost.org/trac/boost/changeset/84950 will break
 when (if) glibc issues version 3.0.

 The following patch is preferred way to spell "glibc-2.17 or above":

 {{{
 -#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) ||
 defined(__GLIBC_HAVE_LONG_LONG))
 +#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) \
 + || defined(__GLIBC_HAVE_LONG_LONG) \
 + || __GLIBC_PREREQ(2, 17))
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8731#comment:5>
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:16 UTC