Re: [Boost-bugs] [Boost C++ Libraries] #7389: __STDC_LIMIT_MACROS can be redefined by boost when using mingw32

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7389: __STDC_LIMIT_MACROS can be redefined by boost when using mingw32
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-20 09:08:24


#7389: __STDC_LIMIT_MACROS can be redefined by boost when using mingw32
-------------------------------+--------------------------------------------
  Reporter: chfast@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by anonymous):

>What happens if the user include the files using this macro before the
 boost config files?

 We have to fall back to code that doesn't depend on UINT8_MAX etc being
 defined. Ideally if stdint.h is included twice - once without
 {{{__STDC_LIMIT_MACROS}}} and then again with it, it will do the right
 thing and fill in the definitions it missed out the first time. Not all
 implementations do that though :-(

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