Boost logo

Boost :

Subject: Re: [boost] [atomic] unconditional cmpxchg8b support
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-10-23 15:55:02


On 10/23/2012 05:29 AM, Tim Blechmann wrote:
>>>> 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?
> my users are barely capable of handling a build system, not to mention a
> compiler ... artists who are eager to user open source, you know

Seriously, if the compiler is set to compile for
an architecture that doesn't support cmpxchg8b,
then Boost.Atomic should not generate this instruction.
I really don't care if disregarding this makes
things easier for some people. We have to follow
consistent rules or eventually no will be able to
understand what's going on.

In Christ,
Steven Watanabe

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