• 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: Compiler Warning - unknown Method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler Warning - unknown Method


  • Subject: Re: Compiler Warning - unknown Method
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 25 Aug 2005 14:19:10 -0400
  • Organization: Rogue Research

On 2005-08-25 11:04, Will Mason said:

>> (I know from other compilers than gcc a compiler-pragma like "#pragma
>>
>> nowarn:4532" e.g.)
>
>You can try -Wno-implicit-function-declaration. I, too, have lamented
>the absence of numbered errors and warnings and a way to control them
>by number in gcc.

Ugh, magic numbers are not very user friendly.  CodeWarrior's solution
is quite nice I think:

#pragma warn_no_explicit_virtual off
 ...crappy code...
#pragma warn_no_explicit_virtual reset

But anyway gcc has neither, and so warnings can be toggled, at best, at
the per file level. Pity.

--
____________________________________________________________
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.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Compiler Warning - unknown Method (From: Marco Maniscalco <email@hidden>)
 >Re: Compiler Warning - unknown Method (From: Will Mason <email@hidden>)

  • Prev by Date: Re: Compiler Warning - unknown Method
  • Next by Date: Re: Finding all subclasses of a class ?
  • Previous by thread: Re: Compiler Warning - unknown Method
  • Next by thread: current predicate of a NSSearchField
  • Index(es):
    • Date
    • Thread