[Boost-bugs] [Boost C++ Libraries] #10767: Regression of #10296 when address-model=32 in mingw

Subject: [Boost-bugs] [Boost C++ Libraries] #10767: Regression of #10296 when address-model=32 in mingw
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-07 07:18:57


#10767: Regression of #10296 when address-model=32 in mingw
--------------------------------------+------------------------
 Reporter: Brian Jack <gau_veldt@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.57.0 | Severity: Regression
 Keywords: |
--------------------------------------+------------------------
 I have some upstream libraries that will not work in 64-bit build so I had
 to build boost as a 32-bit target (project-config.jam set to using gcc and
 build command from the cmd shell is: b2 address-model=32 install).

 This all works fine and dandy, except that it causes a regression of the
 whole #10296 _InterlockedCompareExchange and friends related issues.

 You guessed it, it hits the #ifdef(__MINGW64_VERSION_MAJOR) defines, finds
 them defined (we are in address-model=32 remember) and happily creates the
 underscored forms of the calls in the implementations and the linker
 happily complains (AGAIN ARGHHHH!) that they are not defined.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10767>
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:17 UTC