[cfe-dev] Help with compiling code with libcxx

Richard Smith richard at metafoo.co.uk
Fri Jun 15 16:45:30 PDT 2012

On Fri, Jun 15, 2012 at 4:28 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Fri, Jun 15, 2012 at 4:22 PM, Ashok Nalkund <ashoknn at qualcomm.com> wrote:
>> Any info on compiling Qt (4.8.2) with clang & libc++ ? I couldnt find
>> replacements for things like "__gnu_cxx::__exchange_and_add()" being used in
>> Qt.
> Clang has C11 atomics:
> http://clang.llvm.org/docs/LanguageExtensions.html#__c11_atomic

It also supports the full set of GNU atomic builtins, if using
_Atomic(...) types is impractical:


More information about the cfe-dev mailing list