Re: Silencing deprecation warnings
Re: Silencing deprecation warnings
- Subject: Re: Silencing deprecation warnings
- From: Fritz Anderson <email@hidden>
- Date: Fri, 2 Apr 2010 15:46:43 -0500
On 2 Apr 2010, at 3:25 PM, Jayson Adams wrote:
> I recently needed to do the same thing. I found that adding this line to the source file did the trick:
>
> #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
Just what I needed. For the archives, that #pragma must be used outside function scope. I followed the problem method with
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
… which I found on the page referred to by Paul Sanders.
— F
_______________________________________________
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