Re: Silencing deprecation warnings
Re: Silencing deprecation warnings
- Subject: Re: Silencing deprecation warnings
- From: "Sean McBride" <email@hidden>
- Date: Mon, 5 Apr 2010 12:03:36 -0400
- Organization: Rogue Research Inc.
On Fri, 2 Apr 2010 21:05:35 +0100, Paul Sanders said:
>> cc1obj: warning: command line option "-Wno-deprecated" is valid for C+
>+/ObjC++ but not for ObjC
>
>How hard would it be to migrate your code to ObjC++? I guess you could
>do it piecemeal.
I guess we've already established that -Wdeprecated-declarations and -
Wno-deprecated were being confused, but I'd just like to say that it
would probably be a bad idea to switch to Obj-C++ for such a small
reason. When you make that switch, you loose other things like
Refactoring support in Xcode and clang static analyzer support. Only
use Obj-C++ if you really need the C++ part.
--
____________________________________________________________
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