Re: Auto-include date/time
Re: Auto-include date/time
- Subject: Re: Auto-include date/time
- From: Jens Alfke <email@hidden>
- Date: Thu, 3 Jul 2008 18:38:37 -0700
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_Reference_Library.XcodeReference.docset/Contents/Resources/Documents/documentation/DeveloperTools/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