Subject: [Boost-bugs] [Boost C++ Libraries] #6843: [Intel C++] Compile Errors with '#include <atomic>'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-28 16:58:14
#6843: [Intel C++] Compile Errors with '#include <atomic>'
-------------------------------------------+--------------------------------
Reporter: raptorfactor@⦠| Owner: anthonyw
Type: Patches | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.49.0 | Severity: Problem
Keywords: |
-------------------------------------------+--------------------------------
Under Intel C++ (12.1) on Windows, in C++0x mode, the following fails to
compile:
{{{
#include <atomic>
#include <boost/thread.hpp>
int main() { }
}}}
The problem has been discovered previously:
http://software.intel.com/en-us/forums/showpost.php?p=160114
However there seems to be no forthcoming fix on Intel's part.
Attached is a patch to fix this problem. It will probably require a bit of
extra wrapping though (to check for Intel version and C++0x mode).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6843> 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:09 UTC