Boost logo

Boost :

Subject: Re: [boost] [Boost-users] cross-compilation x86_64-w64-ming32: undefined reference to `InterlockedIncrement'
From: Peter Dimov (lists_at_[hidden])
Date: 2013-09-23 07:55:59


Frédéric Bron wrote:
> So I eventually managed to fix the issue with interlocked.hpp and
> mingw-w64: both i686 and x86_64 now work.
> Attached is a patch against 1.54.0.

I don't understand why your patch removes the definition of
BOOST_INTERLOCKED_IMPORT. Doesn't this break every use of this macro?

I see that you check that __MINGW64_VERSION_MAJOR is defined. Is it true
that all MingW64 versions that define this macro have <intrin.h>, or should
its value be checked against something?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk