Re: Fun with Squid2 and Clang

2009-09-02 Thread Mark Nottingham
Hm. I'm trying 3.HEAD now, but it's giving me some trouble; analysis starts up fine, but when it gets to doing cf_gen_defines, it switches over to using g++ and doesn't switch back; see below. cf_gen didn't cause any problems for squid2; is there something new and weird in the build

Re: Fun with Squid2 and Clang

2009-09-02 Thread Henrik Nordstrom
Maybe that it's C++ while the others are C? Hmm.. from Clang homepage The Clang Static Analyzer consists of both a source code analysis framework and a standalone tool that finds bugs in C and Objective-C programs.. C++ is not C or Objective-C, so it's not too strange it

Fun with Squid2 and Clang

2009-09-01 Thread Mark Nottingham
Seeing the fun new tools in Snow Leopard's XCode, I dug a bit and ran Clang's static analyser http://clang-analyzer.llvm.org/ on squid2- HEAD; see http://www.mnot.net/test/squid-scan/ for results. If this is interesting/useful, I can do a quick run on squid3 as well; it's pretty easy.

Re: Fun with Squid2 and Clang

2009-09-01 Thread Kinkie
On Wed, Sep 2, 2009 at 4:23 AM, Mark Nottinghamm...@yahoo-inc.com wrote: Seeing the fun new tools in Snow Leopard's XCode, I dug a bit and ran Clang's static analyser http://clang-analyzer.llvm.org/ on squid2-HEAD; see  http://www.mnot.net/test/squid-scan/ for results. If this is