Re: NSUInteger in for-loop?
Re: NSUInteger in for-loop?
- Subject: Re: NSUInteger in for-loop?
- From: Quincey Morris <email@hidden>
- Date: Mon, 15 Sep 2008 11:54:23 -0700
On Sep 15, 2008, at 11:24, Sean McBride wrote:
'#pragma unused' will cause some compilers to warn "unknown pragma".
Though, since this is the Cocoa list, and Cocoa is not really
portable,
I guess it doesn't matter.
There's also the convenient macro "__unused", which seems to work fine
for parameters as well as auto variables:
- (IBAction)handleButton:(id)__unused sender
{
int __unused someInt;
}
It's not portable either, though you could arrange to #define it away
for a compiler that doesn't support it.
_______________________________________________
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