Boost logo

Boost :

Subject: Re: [boost] [atomic] unconditional cmpxchg8b support
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-10-23 08:25:15

On 23/10/12 12:21, Tim Blechmann wrote:
>>> imo, all ia32 machines without cmpxchg8b should belong to a museum, and
>>> we could introduce a macro like BOOST_ATOMIC_NO_CMPXCHG8B if we really
>>> care of compiling for any of those machines.
>>> thoughts?
>> I think the library should be fair and compile for the platform it is
>> requested for. The question of the default target platform should be
>> directed to compiler or Debian dev team.
> in theory i'd agree with you, but i doubt that it is easy to convince
> the debian devs to change their defaults ... and then we (well i) may
> still have problems with other linux distributions, maybe mingw/cygwin ...

Why not instruct the compiler to build for the platform you want to
build for instead?

Boost list run by bdawes at, gregod at, cpdaniel at, john at