Boost logo

Boost :

Subject: Re: [boost] Boost.Atomic on OSX Leopard, x86-32?
From: Helge Bahmann (hcb_at_[hidden])
Date: 2010-03-05 03:12:40


On Thu, 4 Mar 2010, Josh Faust wrote:

>> I'm on:
>> gcc version 4.0.1 (Apple Inc. build 5493)
>>
>
> Switching to gcc 4.2.1 (Apple Inc. build 5574) fixed this. It also doesn't
> need the "lock"->"lock;" or "+r"->"+q" changes.

thanks for trying this, I have not yet found time to install gcc-4.0.1 for
reproducing this

however on the "r"->"q" changes for 8-bit atomics I think you were right
the first time, these *are* required so I will fix this, the extra
semicolon may not be required but does not hurt either

Best regards
Helge


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