[Boost-bugs] [Boost C++ Libraries] #2065: [boost.thread] compile errors when using boost.thread library together with Microsoft SDK for Windows Vista

Subject: [Boost-bugs] [Boost C++ Libraries] #2065: [boost.thread] compile errors when using boost.thread library together with Microsoft SDK for Windows Vista
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-02 09:52:10


#2065: [boost.thread] compile errors when using boost.thread library together with
Microsoft SDK for Windows Vista
----------------------------------------------+-----------------------------
 Reporter: peter.schneider_at_[hidden] | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: thread
  Version: Boost Release Branch | Severity: Problem
 Keywords: compiler error SDK thread |
----------------------------------------------+-----------------------------
 Boost version: revision 46956 of the release branch
 (http://svn.boost.org/svn/boost/branches/release)

 Compiler: Visual Studio 2005 with Service Pack 1 and Windows SDK for
 Windows Vista (v6.0)

 When I try to compile a file which only contains the following #include

 #include <boost/thread.hpp>

 I get a compilation error:

 â€¦ boost\thread\win32\thread_primitives.hpp(286) : error C2733: second C
 linkage of overloaded function '_interlockedbittestandset' not allowed

 If Windows SDK for Windows Vista is removed, the error does not occur.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2065>
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:49:58 UTC