[Boost-bugs] [Boost C++ Libraries] #11788: cland and boost on windows

Subject: [Boost-bugs] [Boost C++ Libraries] #11788: cland and boost on windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-09 14:02:29


#11788: cland and boost on windows
------------------------------+----------------------
 Reporter: thosrtanner58@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: threads
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------
 I've come across two problems with boost (1.57) and clang (3.6.1) on
 windows where boost is getting confused probably by clang reporting it has
 microsoft versions

 1. Somehow or other it ends up in msvc/typeof_impl.hpp without BOOST_MSVC
 being defined - I believe the fix for this would be to change
 boost/typeof/typeof.hpp to check if __clang__ is defined if _MSC_VER is
 defined and use native typeof.

 2. There is also a problem with thread_primitives.hpp - see
 http://stackoverflow.com/questions/30003585/trouble-using-boost-thread-
 headers-with-clang-windows - where (apart from compiling with a
 compatibility flag and hacking one of the headers) I can't really see a
 proper answer

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11788>
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:19 UTC