[cfe-dev] error while building llvm clang using ninja.
vibhav.hk at gmail.com
Sat May 2 10:07:41 PDT 2015
I was trying to build llvm clang 3.7 using Ninja and in the last step I got
vibhav at vibhav-HP-2000-Notebook-PC:~/clang-llvm/build$ ninja
*[3/2639] Building C object
-DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers
-pedantic -Wno-long-long -Wno-comment -fcolor-diagnostics -g -Ilib/Support
-I/home/vibhav/clang-llvm/llvm/include -MMD -MT
unrecognized command line option ‘-fcolor-diagnostics’*
[3/2639] Building CXX object
ninja: build stopped: subcommand failed.
In trying to solve this error, I deleted DAGDeltaAlgorithm.cpp file.
Can you please tell me how to fix this error? And can you also tell me from
where to get DAGDeltaAlgorithm.cpp file back? Or can you send me that?
I have already set the entry for CMAKE_CXX_COMPILER to
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev