Re: Techniques to suppress "unused member variable" Clang warnings?
Re: Techniques to suppress "unused member variable" Clang warnings?
- Subject: Re: Techniques to suppress "unused member variable" Clang warnings?
- From: "Sean McBride" <email@hidden>
- Date: Fri, 4 Feb 2011 12:41:39 -0500
- Organization: Rogue Research Inc.
On Thu, 3 Feb 2011 16:57:06 -0700, James Bucanek said:
>>Just stick:
>>
>>(void)someVariable;
>>
>>somewhere.
>
>Good suggestions. I thought of something like that, but I was
>hoping for something more elegant, and closer to the declaration
>for maintenance.
>
>If I can't discover a better solution, I'll end up implementing this.
What I like about that syntax is that it works in C, C++, Obj-C, and
across every compiler I've ever come across.
--
____________________________________________________________
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