Displaying 3 results from an estimated 3 matches for "dc_supports_flag".
Did you mean:
c_supports_flag
2014 Jan 21
2
[LLVMdev] C++0x Bug in CMake?
...MakeLists.txt:286 (include)
>>
>> Error log:
>> Run Build Command:/usr/local/bin/ninja cmTryCompileExec3815591925
>> [1/2] Building C object CMakeFiles/cmTryCompileExec3815591925.dir/src.c.o
>> FAILED: /home/user/devel/llvm/build/bin/clang -mcpu=cortex-a15
>> -DC_SUPPORTS_FLAG -std=c++0x -fPIC -o
>> CMakeFiles/cmTryCompileExec3815591925.dir/src.c.o -c src.c
>> error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'
>> ninja: build stopped: subcommand failed.
>>
>> Why is it adding --std=c++0x on a C compiler?
>&...
2014 Jan 21
4
[LLVMdev] C++0x Bug in CMake?
...LLVMOptions.cmake:150 (add_flag_or_print_warning)
CMakeLists.txt:286 (include)
Error log:
Run Build Command:/usr/local/bin/ninja cmTryCompileExec3815591925
[1/2] Building C object CMakeFiles/cmTryCompileExec3815591925.dir/src.c.o
FAILED: /home/user/devel/llvm/build/bin/clang -mcpu=cortex-a15
-DC_SUPPORTS_FLAG -std=c++0x -fPIC -o
CMakeFiles/cmTryCompileExec3815591925.dir/src.c.o -c src.c
error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'
ninja: build stopped: subcommand failed.
Why is it adding --std=c++0x on a C compiler?
Needless to say that with GCC, that doesn't...
2014 Jan 21
2
[LLVMdev] C++0x Bug in CMake?
...or log:
>>>> Run Build Command:/usr/local/bin/ninja cmTryCompileExec3815591925
>>>> [1/2] Building C object
>>>> CMakeFiles/cmTryCompileExec3815591925.dir/src.c.o
>>>> FAILED: /home/user/devel/llvm/build/bin/clang -mcpu=cortex-a15
>>>> -DC_SUPPORTS_FLAG -std=c++0x -fPIC -o
>>>> CMakeFiles/cmTryCompileExec3815591925.dir/src.c.o -c src.c
>>>> error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'
>>>> ninja: build stopped: subcommand failed.
>>>>
>>>> Why is it a...