[llvm-dev] Compilation errors

Peter Teoh via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 30 18:49:37 PST 2015


While doing a make on the recently checkout version:

I got the following errors:

[ 68%] Built target dd
[ 68%] Built target compiler-rt-headers
[ 68%] Building C object
projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdidf.c.o
In file included from
/home/tthtlc/llvm/llvm/projects/compiler-rt/lib/builtins/x86_64/floatdidf.c:9:0:
/home/tthtlc/llvm/llvm/projects/compiler-rt/lib/builtins/x86_64/../int_lib.h:131:8:
error: C++ style comments are not allowed in ISO C90 [-Werror]
 #endif // defined(_MSC_VER) && !defined(__clang__)
        ^
/home/tthtlc/llvm/llvm/projects/compiler-rt/lib/builtins/x86_64/../int_lib.h:131:8:
error: (this will be reported only once per input file) [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdidf.c.o]
Error 1
make[1]: *** [projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/all]
Error 2
make: *** [all] Error 2

Can anyone comment on the error?

-- 
Regards,
Peter Teoh


More information about the llvm-dev mailing list