[LLVMdev] Error compiling llvm/clang with clang+libc++ with -std=cxx0x

Ashok Nalkund ashoknn at qualcomm.com
Tue Jun 26 17:54:55 PDT 2012


Second try, is the following warning a cause for concern? I dont know if 
it has any side affect. I want to enable c++0x support in llvm/clang and 
use libc++ as well.

On 6/26/2012 9:54 AM, Ashok Nalkund wrote:
> Thanks Dimitry. That worked.
>
> I see some warnings in my compilations:
>
>> Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o
>> [  2%] clang-3: warning: argument unused during compilation: '-nostdinc++'
>> Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o
>> clang-3: warning: argument unused during compilation: '-stdlib=libc++'
>
> Is that expected? I'm using both -stdlib=libc++ and -std=cxx0x. I dont
> see them when I used just -stdlib=libc++ flag.
>
> Thanks,
> Ashok
>



More information about the llvm-dev mailing list