Re: atomic ops broken on mac/xcode



On Mon, Aug 27, 2012 at 9:36 PM, Justin Karneges <justin affinix com> wrote:
> On Monday, August 27, 2012 08:39:55 AM you wrote:
>> On 12-08-24 09:51 PM, Justin Karneges wrote:
>> > It seems that the atomic operation detection does not work for gcc 4.2.1,
>> > which is the latest version shipped with Xcode.
>>
>> Any chance that this is a clang issue?  Last I checked, XCode was
>> shipping LLVM.
>>
>> See this bug I filed a while ago...
>>
>>    http://llvm.org/bugs/show_bug.cgi?id=11174
>

May be Clang's
    __has_extension(c_atomic)
and corresponding __c11_atomic_*() builtin's able to help you in Clang case?

See: http://clang.llvm.org/docs/LanguageExtensions.html

-- 
Andrew W. Nosenko <andrew w nosenko gmail com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]