Re: Compiler Warning - unknown Method
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