On Mon, Jul 12, 2010 at 5:16 PM, Matt Neuburg <m...@tidbits.com> 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

It looks like there are tests in place to ensure that clang parses
__attribute__((sentinel)) correctly, but I don't see any tests that
try calling functions decorated with __attribute__((sentinel)).

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to