Re: Unused parameters
Re: Unused parameters
- Subject: Re: Unused parameters
- From: Thomas Lachand-Robert <email@hidden>
- Date: Tue, 19 Oct 2004 21:08:34 +0200
Le 18 oct. 04, à 22:45, Jan E. Schotsman a écrit :
Hello list,
I would like to use the "unused parameters' warning but this causes
some
problems with system callbacks.
In CodeWarrior I can either comment out the unused parameter's name or
use
'pragma unused'. In Xcode neither seems to work.
Any tips?
Yes use a construct like that:
double somevar __attribute__((unused));
This has nothing to do with XCode, but with GCC. See the corresponding
docs.
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet à la chose. >> Molière, Tartuffe.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden