Re: [Boost-bugs] [Boost C++ Libraries] #11301: Boost 1.58 compile error with atomic when plain C++ is used

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11301: Boost 1.58 compile error with atomic when plain C++ is used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-14 08:58:52


#11301: Boost 1.58 compile error with atomic when plain C++ is used
-------------------------------+--------------------------
  Reporter: edd@… | Owner: timblechmann
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: atomic
   Version: Boost 1.58.0 | Severity: Showstopper
Resolution: worksforme | Keywords:
-------------------------------+--------------------------
Changes (by andysem):

 * cc: Andrey.Semashev@… (added)
 * status: new => closed
 * resolution: => worksforme

Comment:

 I cannot reproduce this, the code compiles without errors on my system
 (Kubuntu 15.04, x86_64, Boost 1.58). In fact it doesn't even include
 Boost.Atomic anywhere.

 `BOOST_ATOMIC_EMULATED` should only be defined when the target platform is
 not supported or doesn't have atomic ops, so it is expected not to be
 defined.

 There is nowhere in the code where caps_gcc-atomic.hpp is included, the
 correct file name in 1.58 is caps_gcc_atomic.hpp (note the underscore
 instead of minus) and this file is present. The gcc_atomic part comes from
 boost/atomic/detail/platform.hpp:38. My guess is that you have an
 incorrectly modified copy of Boost.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11301#comment:1>
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:18 UTC