$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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 08:02:52
Andrey Semashev wrote:
> Also, intrin.h is an MSVC-specific header and I'm not sure it's portable
> across different versions of MinGW.
<intrin.h> in this context probably includes the MingW64 header of that
name.
> In the long term it might be worthwhile to use gcc atomic intrinsics to
> implement BOOST_INTERLOCKED* macros.
BOOST_INTERLOCKED_* are not supposed to be implemented. If Boost.Thread uses
them instead of the appropriate gcc atomics, this is a problem in
Boost.Thread, not in interlocked.hpp.