Re: clang static analyzer: use it!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 04, 2009 at 01:15:40PM -0400, Jeff Moyer wrote:

 > > I added a path to the clang bin/ dir, and copied scan-build to my ~/bin
 > > and then ran with 'make defconfig ; scan-build -o clang make bzImage'
 > >
 > > Am I missing something obvious ?
 > 
 > It may be that the kernel defines $(CC) to gcc, at which point you
 > lose.  Try doing a make with CC=/path/to/ccc-analyzer.

That was exactly it. Nice. 

	Dave

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux