Subject: [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-13 22:37:26
#11301: Boost 1.58 compile error with atomic when plain C++ is used
------------------------------+--------------------------
Reporter: edd@⦠| Owner: timblechmann
Type: Bugs | Status: new
Milestone: To Be Determined | Component: atomic
Version: Boost 1.58.0 | Severity: Showstopper
Keywords: |
------------------------------+--------------------------
The short program below ends in
fatal error: boost/atomic/detail/caps_gcc-atomic.hpp:
No such file or directory
as BOOST_ATOMIC_EMULATED ends up not being defined. Found on
Ubuntu 15.04, 32 and 64 bit, using g++ 4.9.2. I can overcome it by
commenting out the #if !(defined(BOOST_ATOMIC_EMULATED)) in both
{{{
atomic/capabilities.hpp
atomic/detail/operations_lockfree.hpp
}}}
(This was in the context of headers-only Boost subset package I maintain
for R; the actual commit earlier today is here:
https://github.com/eddelbuettel/bh/commit/5238ac85b1afc32544612e615adac3aa279f3807
Dirk
{{{
#include <iostream>
#include <boost/math/special_functions/gamma.hpp>
int main(int argc, char *argv[]) {
std::cout << "Value: " << boost::math::lgamma(10.0) << std::endl;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11301> 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