Re: Still another static analyzer (and LLVM parser) mistake
Re: Still another static analyzer (and LLVM parser) mistake
- Subject: Re: Still another static analyzer (and LLVM parser) mistake
- From: "Sean McBride" <email@hidden>
- Date: Mon, 12 Jul 2010 21:53:49 -0400
Matt Neuburg (email@hidden) 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 that gcc generates that
clang does not (and vice versa). Also, there are gcc warning flags that
clang accepts but silently ignores. Best to build with both compilers
from time to time.
And I encourage you to file bugs, they are very responsive.
Sean
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden