Re: atomic ops broken on mac/xcode
- From: "Andrew W. Nosenko" <andrew w nosenko gmail com>
- To: Justin Karneges <justin affinix com>
- Cc: Ryan Lortie <desrt desrt ca>, gtk-devel-list gnome org
- Subject: Re: atomic ops broken on mac/xcode
- Date: Tue, 28 Aug 2012 12:47:45 +0300
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]