The other night I spent about three hours trying to figure out why some code I had was behaving so strangely. It got to the point where I was convinced I found a bug in gcc - but as always, it was the pilot at fault. It turns out I forgot to terminate several of my variable-argument lists with a nil.
At one time, I recall Xcode/gcc warning me about not terminating my varg list with a nil, but recently I found this warning is not enabled by default (perhaps my system's just acting up?). So yeah, I learned pretty quick how useful -Wformat can be; I highly recommend enabling it! David _______________________________________________ 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