Re: unused parameters
Re: unused parameters
- Subject: Re: unused parameters
- From: "Alastair J.Houghton" <email@hidden>
- Date: Sat, 27 Sep 2003 21:49:50 +0100
On Saturday, September 27, 2003, at 09:36 pm, Danny Swarzman wrote:
Does anyone know how to surpress warnings about unused parameters.
CodeWarrior has a #pragma for this.
I think you can do #pragma unused(x) in Apple's GCC. There is also a
GCC extension, __attribute__((unused)) that can be used as an
alternative (see the GCC docs for more information).
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.