Crossware

Table of Contents        Previous topic       Next topic       

C/C++ COMPILER->Predefined Macros->ANSI Predefined Macros

The normal ANSI predefined macros are supported:
    
__LINE__The line number of the current source line (a decimal constant)
__FILE__The name of the source file (a character string literal)
__DATE__The current date as set on the host machine (a character string literal in the form mmm dd yyyy)
__TIME__The current time as set on the host machine (a character string literal in the form hh:mm:ss)
__STDC__1 to indicate strict conformance to the ANSI standard, 0 to indicate non-strict conformance.  (This is always 0 unless the /Za option is used).