Boost C++ Libraries: Ticket #2065: [boost.thread] compile errors when using boost.thread library together with Microsoft SDK for Windows Vista https://svn.boost.org/trac10/ticket/2065 <p> Boost version: revision 46956 of the release branch (<a class="ext-link" href="http://svn.boost.org/svn/boost/branches/release"><span class="icon">​</span>http://svn.boost.org/svn/boost/branches/release</a>) </p> <p> Compiler: Visual Studio 2005 with Service Pack 1 and Windows SDK for Windows Vista (v6.0) </p> <p> When I try to compile a file which only contains the following #include </p> <p> #include &lt;boost/thread.hpp&gt; </p> <p> I get a compilation error: </p> <p> … boost\thread\win32\thread_primitives.hpp(286) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed </p> <p> If Windows SDK for Windows Vista is removed, the error does not occur. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2065 Trac 1.4.3 Anthony Williams Fri, 04 Jul 2008 15:46:13 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2065#comment:1 https://svn.boost.org/trac10/ticket/2065#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed on trunk </p> Ticket