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-23 10:23:13


#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 bronf):

 I have eventually fixed this issue without having to define
 BOOST_USE_WINDOWS_H (which causes issues when compiling with wxWidgets for
 example). The patch
 (https://svn.boost.org/trac/boost/attachment/ticket/4849/interlocked.diff)
 works with mingw-w64 targeting both i686 and x86_64.
 Hope this can be included in 1.55.0.

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