Re: Clang analysis: Debug variables "never read."
Re: Clang analysis: Debug variables "never read."
- Subject: Re: Clang analysis: Debug variables "never read."
- From: "Sean McBride" <email@hidden>
- Date: Fri, 2 Oct 2009 13:52:15 -0400
- Organization: Rogue Research Inc.
On 10/2/09 10:47 AM, Rick Mann said:
>Oh, I like __unused better.
Taste aside, casting to (void) is more portable, and works in C, C++,
and Obj-C. It can also be used to silence compiler warnings about
unused parameters (it works with gcc, CodeWarrior, and Visual Studio,
and more).
>I wonder if clang supports it.
Dunno.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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