• 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: #pragma to suppress a warning message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #pragma to suppress a warning message


  • Subject: Re: #pragma to suppress a warning message
  • From: Scott Thompson <email@hidden>
  • Date: Wed, 16 Sep 2009 23:06:48 -0500

Also, can anyone point me to a list of the #pragma’s for xcode?

I'm not sure what you are referring to when you say that your pragam warnings would have worked "In gnu". Xcode is an IDE. The compiler most commonly used with Xcode is gcc which is the GNU C compiler. In Snow Leopard, you can optionally use the clang compiler.


A list of pragmas for gcc can be found here:
http://gcc.gnu.org/onlinedocs/gcc/Pragmas.html

Nonetheless, on the 10.4 machine where I tested this, the method works. Does anybody know what the story is with this method and 10.4? Is this method actually supported by 10.4 or is it something that happens to be supported if certain other software has been installed on a 10.4 platform?

If it is not in the headers, it is a private and unsupported method. It may appear to work, but you have no guarantees as to whether or not it is returning the correct information in all cases. As such, it should not be used.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: #pragma to suppress a warning message
      • From: "Sean McBride" <email@hidden>
References: 
 >#pragma to suppress a warning message (From: Jay Boyer <email@hidden>)

  • Prev by Date: Re: #pragma to suppress a warning message
  • Next by Date: Re: How to create subentity object inheriting from superentity object in core data
  • Previous by thread: Re: #pragma to suppress a warning message
  • Next by thread: Re: #pragma to suppress a warning message
  • Index(es):
    • Date
    • Thread