Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4849: MinGW-64: detail/interlocked.hpp chooses wrong prototypes for InterlockedCompareExchange et al
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-01 14:33:44
#4849: MinGW-64: detail/interlocked.hpp chooses wrong prototypes for
InterlockedCompareExchange et al
-----------------------------------------+----------------------------------
Reporter: Jim Bell <jim@â¦> | Owner: pdimov
Type: Bugs | Status: new
Milestone: Boost 1.46.0 | Component: smart_ptr
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: mingw64 InterlockedCompareExchange once.hpp thread.cpp
-----------------------------------------+----------------------------------
Comment (by pdimov):
I see that the "Win7-x64 jc-bell.com" regression tester doesn't have the
issue, but this may be caused by a different version of windows.h. Either
way, this is not (in my opinion) an issue with interlocked.hpp, it's
caused by thread.cpp including windows.h before once.hpp. windows.h then
(I assume) defines Interlocked* as macros to _Interlocked*. Putting the
windows.h include last should solve the problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4849#comment:3> 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:04 UTC