[cfe-dev] I get no reports from running "scan-build <args...> make -k

salvatore benedetto salvatore.benedetto at gmail.com
Thu Jun 27 04:32:01 PDT 2013


On Thu, Jun 27, 2013 at 12:49 PM, David Röthlisberger <david at rothlis.net>wrote:

> On 27 Jun 2013, at 11:26, Duglas Mikle wrote:
> >
> > Ok. Let's try step by step.
> >
> > 1) PATH=/home/xxxx/programming/llvm-bld/Release+Debug+Asserts/bin:$PATH
> > 2) export CXX=clang++
> > 3) Important: mofify your Makefile:
> > test: test.cpp
> > clang++ test.cpp -o test
> >
> > as
> >
> > test: test.cpp
> > $(CXX) test.cpp -o test
>
> And read:
>
> * The 1st paragraph under "Will it work with any build system?" of
>   http://clang-analyzer.llvm.org/scan-build.html
>
> * "Variables for specifying commands" in the "Makefile conventions"
>   section of the GNU Make manual:
>   http://www.gnu.org/software/make/manual/html_node/Command-Variables.html
>
> * "Variables used by implicit rules" in the GNU Make manual:
>
> http://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html#index-CXX-868
>
>
I definitely should start reading instead of just scrolling down
quickly documentation ... :-)

It works just fine.

Thanks to both.

S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130627/b8c84111/attachment.html>


More information about the cfe-dev mailing list