__DATE__. NXP CodeWarrior Development Studio
Reklama
Reklama
Chapter 25 Predefined Macros
Remarks
CodeWarrior compilers issued after 2006 define this macro with the compiler's frontend version. For example, if the compiler frontend version is 4.2.0, the value of
__CWCC__
is
0x4200
.
CodeWarrior compilers issued prior to 2006 used the pre-defined macro
__MWERKS__
. The
__MWERKS__
predefined macro is still functional as an alias for
__CWCC__
.
The ISO standards do not specify this symbol.
25.10 __DATE__
Preprocessor macro defined as the date of compilation.
Syntax
__DATE__
Remarks
The compiler defines this macro as a character string representation of the date of compilation. The format of this string is
"
Mmm dd yyyy " where Mmm is the a three-letter abbreviation of the month, dd is the day of the month, and yyyy is the year.
25.11 __embedded_cplusplus
Defined as 1 when compiling embedded C++ source code, undefined otherwise.
Syntax
__embedded_cplusplus
Remarks
The compiler defines this macro as 1 when the compiler's settings are configured to restrict the compiler to translate source code that conforms to the Embedded C++ proposed standard. The compiler does not define this macro otherwise.
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
Freescale Semiconductor, Inc.
411
Preuzimanje
Reklama