Re: Still another static analyzer (and LLVM parser) mistake

2010-07-12 Thread Sean McBride
Matt Neuburg (m...@tidbits.com) on 2010-07-12 20:16 said: >There's no warning if you do this: > >NSArray* arr = [NSArray arrayWithObjects: @"howdy"]; > >GCC's parser is smart enough to know that the missing nil terminator is just >asking for trouble. FWIW, there are a bunch of compiler warnings t

Re: Still another static analyzer (and LLVM parser) mistake

2010-07-12 Thread Kyle Sluder
On Mon, Jul 12, 2010 at 5:16 PM, Matt Neuburg wrote: > There's no warning if you do this: > > NSArray* arr = [NSArray arrayWithObjects: @"howdy"]; > > GCC's parser is smart enough to know that the missing nil terminator is just > asking for trouble. Have you filed a bug? http://www.llvm.org/bugs

Still another static analyzer (and LLVM parser) mistake

2010-07-12 Thread Matt Neuburg
There's no warning if you do this: NSArray* arr = [NSArray arrayWithObjects: @"howdy"]; GCC's parser is smart enough to know that the missing nil terminator is just asking for trouble. m. -- matt neuburg, phd = m...@tidbits.com, A fool + a tool + an autorelease p