• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Techniques to suppress "unused member variable" Clang warnings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Techniques to suppress "unused member variable" Clang warnings? (From: Jim Thomason <email@hidden>)
 >Re: Techniques to suppress "unused member variable" Clang warnings? (From: James Bucanek <email@hidden>)

  • Prev by Date: SOLVED: Magic sauce to kill iPhone app in Simulator on Build and Run
  • Next by Date: Re: Copying old instead of new Bundle Resources
  • Previous by thread: Re: Techniques to suppress "unused member variable" Clang warnings?
  • Next by thread: Re: Techniques to suppress "unused member variable" Clang warnings?
  • Index(es):
    • Date
    • Thread