• 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: Per-file Warnings suppression?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Per-file Warnings suppression?


  • Subject: Re: Per-file Warnings suppression?
  • From: Brian Stern <email@hidden>
  • Date: Wed, 1 Oct 2008 14:20:26 -0400


On Oct 1, 2008, at 1:38 PM, Peter O'Gorman wrote:
What would make all of this much simpler would be if gcc had a way of
turning on/off warnings and other compiler settings in the source code.


#pragma GCC diagnostic

I think this is gcc-4.2 and later, see
http://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas


That's the kind of thing I'm talking about. It doesn't seem to be honored by the current version of gcc 4.0.1 that's installed with Xcode.


--
Brian Stern
email@hidden



_______________________________________________
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


References: 
 >Per-file Warnings suppression? (From: David Hoerl <email@hidden>)
 >Re: Per-file Warnings suppression? (From: Chris Espinosa <email@hidden>)
 >Re: Per-file Warnings suppression? (From: Brian Stern <email@hidden>)
 >Re: Per-file Warnings suppression? (From: Peter O'Gorman <email@hidden>)

  • Prev by Date: Re: Variable length arrays in debugger
  • Next by Date: Re: Variable length arrays in debugger
  • Previous by thread: Re: Per-file Warnings suppression?
  • Next by thread: Re: Per-file Warnings suppression?
  • Index(es):
    • Date
    • Thread