Re: [Boost-bugs] [Boost C++ Libraries] #4849: MinGW-64: detail/interlocked.hpp chooses wrong prototypes for InterlockedCompareExchange et al

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: 2013-09-09 14:07:36


#4849: MinGW-64: detail/interlocked.hpp chooses wrong prototypes for
InterlockedCompareExchange et al
-------------------------------------+-------------------------------------
  Reporter: Jim Bell <jim@…> | Owner: anthonyw
      Type: Bugs | Status: closed
 Milestone: Boost 1.46.0 | Component: thread
   Version: Boost Development | Severity: Problem
  Trunk | Keywords: mingw64
Resolution: fixed | InterlockedCompareExchange once.hpp
                                     | thread.cpp
-------------------------------------+-------------------------------------

Comment (by Matt Clarkson <mattyclarkson@…>):

 @jim: I solved this by adding define=BOOST_USE_WINDOWS_H to fix the build.
 That forces the inclusion of `windows.h` pulling in the correct
 definitions for the symbols. I went over the patches, they all seem to be
 in the trunk now, so was a little lost but found some more information
 around on Google about building Boost with MinGW x64.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4849#comment:20>
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:14 UTC