Re: -Wall
Re: -Wall
- Subject: Re: -Wall
- From: Alex Curylo <email@hidden>
- Date: Thu, 5 Jun 2008 04:14:24 -0700
On 5-Jun-08, at 3:56 AM, Alastair Houghton wrote:
You're right in general that some warnings are a little pointless,
but the unused parameter warning *is* actually a useful one. It has
occasionally saved me considerable headaches where
Where I've personally found it a veritable godsend is in porting
massive cross-platform source bases of the form
void SomeFunction(int param)
{
#ifdef SOME_DEFINE
...
#elif SOME_OTHER_DEFINE
...
#endif
}
since it lets you know -- and is often the only way to *quickly* know
-- that you need to add an #elif TARGET_OS_MAC or whatever to that
particular function.
--
Alex Curylo -- email@hidden -- http://www.alexcurylo.com/
"The man does wield English like a finely balanced rapier."
-- Gustav Kühn
_______________________________________________
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
References: | |
| >Re: -Wall (From: Alex Curylo <email@hidden>) |
| >Re: -Wall (From: Alastair Houghton <email@hidden>) |