• 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: Silencing deprecation warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Silencing deprecation warnings
      • From: Martin Wierschin <email@hidden>
References: 
 >Silencing deprecation warnings (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Silencing deprecation warnings
  • Next by Date: flexible array member not initializing
  • Previous by thread: Re: Silencing deprecation warnings
  • Next by thread: Re: Silencing deprecation warnings
  • Index(es):
    • Date
    • Thread