Re: Fun with Squid2 and Clang

2009-09-02 Thread Mark Nottingham
That's weird - I could have sworn it said that it was c / objective- c / c++. Ah, well. On 02/09/2009, at 8:31 PM, Henrik Nordstrom wrote: 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 f

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 i

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 proce

Re: Fun with Squid2 and Clang

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

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 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.