Re: [Boost-bugs] [Boost C++ Libraries] #5752: boost::call_once() is unreliable on some platforms

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5752: boost::call_once() is unreliable on some platforms
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-09 15:25:06


#5752: boost::call_once() is unreliable on some platforms
----------------------------------------------------+-----------------------
  Reporter: Matthew Dempsky <matthew@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.52.0 | Component: thread
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: once
----------------------------------------------------+-----------------------

Comment (by fmhess):

 SIG_ATOMIC_MAX actually gets defined by stdint.h/cstdint not csignal so it
 seems like your define should be earlier. Actually, even then there's
 still a problem since the user might include stdint.h before they include
 the once.hpp, without having {{{__STD_LIMIT_MACROS}}} defined. In that
 case, SIG_ATOMIC_MAX won't be defined in their code but it will be defined
 in the thread library, leading to incompatible types again.

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