[LLVMdev] build warnings

James Molloy james.molloy at arm.com
Mon Oct 24 03:17:32 PDT 2011


Takumi,

VERBOSE=1 only changes the makefile to not output colour and to output the
entire command line. AFAIK it does not unsurpress any warnings.

AFAIK no warnings are surpressed, although that is of course possible.

Cheers,

James

-----Original Message-----
From: NAKAMURA Takumi [mailto:geek4civic at gmail.com] 
Sent: 24 October 2011 11:16
To: James Molloy
Cc: Csaba Raduly; llvmdev
Subject: Re: [LLVMdev] build warnings

James,

> [ 94%] [ 94%] Building CXX object
> tools/clang/tools/libclang/CMakeFiles/libclang.dir/IndexingContext.cpp.o
> Building CXX object
>
tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/M
> emRegion.cpp.o
> Linking CXX shared library ../../../../lib/liblibclang.so

I am suspicious, I guess you might not enable optimization on cmake build.

1) make sure with "make VERBOSE=1"
2) make sure you would set proper CMAKE_BUILD_TYPE, or CMAKE_CXX_FLAGS.

...Takumi








More information about the llvm-dev mailing list