• 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: unused parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unused parameters


  • Subject: Re: unused parameters
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Sat, 27 Sep 2003 21:49:50 +0100

On Saturday, September 27, 2003, at 09:36 pm, Danny Swarzman wrote:

Does anyone know how to surpress warnings about unused parameters.

CodeWarrior has a #pragma for this.

I think you can do #pragma unused(x) in Apple's GCC. There is also a GCC extension, __attribute__((unused)) that can be used as an alternative (see the GCC docs for more information).

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >unused parameters (From: Danny Swarzman <email@hidden>)

  • Prev by Date: Re: unused parameters
  • Next by Date: Re: unused parameters
  • Previous by thread: Re: unused parameters
  • Next by thread: Re: unused parameters
  • Index(es):
    • Date
    • Thread