[Boost-bugs] [Boost C++ Libraries] #6842: [Intel C++] Compile Errors with '#include <atomic>'

Subject: [Boost-bugs] [Boost C++ Libraries] #6842: [Intel C++] Compile Errors with '#include <atomic>'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-28 16:56:04


#6842: [Intel C++] Compile Errors with '#include <atomic>'
-------------------------------------------+--------------------------------
 Reporter: raptorfactor@… | Owner: pdimov
     Type: Patches | Status: new
Milestone: To Be Determined | Component: smart_ptr
  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/shared_ptr.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/6842>
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