• 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: Compiler constants
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler constants


  • Subject: Re: Compiler constants
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 26 Mar 2008 10:19:48 +0100

Objective C is a C superset, so C keyword works in objc, and so, they are defined in GCC doc.

http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.1/cpp/Standard-Predefined-Macros.html

and

http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.1/gcc/Function-Names.html


Le 26 mars 08 à 01:03, Charlie Dickman a écrit :

In some C environments there are compiler constants such as __line__ and __name__ (those are double underbars and are reserved for compiler constants) that compile to the current line number and the current function name respectively. Are there anything similar in Objective C. I have not been able to find any such thing in any documentation I have access to. There are also supposed to be (according to the standard) installation defined #PRAGMA directives. I not been able to find any of these either.

Charlie Dickman
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


_______________________________________________ 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: 
 >Compiler constants (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: How to use install location, specifically with prefs pane
  • Next by Date: Re: Leopard 9C7010 - Where did it come from?
  • Previous by thread: Re: Compiler constants
  • Next by thread: Beginners question on String handling
  • Index(es):
    • Date
    • Thread