• 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: Auto-include date/time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Auto-include date/time


  • Subject: RE: Auto-include date/time
  • From: "Michael Stauffer" <email@hidden>
  • Date: Thu, 3 Jul 2008 22:59:41 -0400
  • Importance: Normal

Thanks Jens. I'm not sure how I missed that! :)

Cheers

> -----Original Message-----
> From: Jens Alfke [mailto:email@hidden]
> Sent: Thursday, July 03, 2008 9:39 PM
> To: Michael Stauffer
> Cc: 'XCode List - michael@circ...'
> Subject: Re: Auto-include date/time
>
>
>
> On 3 Jul '08, at 6:32 PM, Michael Stauffer wrote:
>
> > Is there a compiler directive to automatically include the current
> > date and
> > time in a source file during compilation?
>
> ANSI C defines built-in macros __DATE__ and __TIME__. You can read
> about these and more in the GCC docs:
>
> file:///Developer/Documentation/DocSets/com.apple.ADC_Referenc
e_Library.XcodeReference.docset/Contents/Resources/Documents/documentation/D
eveloperTools/gcc-4.0.1/cpp/Standard-Predefined-Macros.html

-Jens=

 _______________________________________________
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: 
 >Re: Auto-include date/time (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Auto-include date/time
  • Next by Date: Off By One
  • Previous by thread: Re: Auto-include date/time
  • Next by thread: Re: Auto-include date/time
  • Index(es):
    • Date
    • Thread