English
Language : 

AN3350 Datasheet, PDF (122/185 Pages) STMicroelectronics – eTPU compiler tools
Predefined macros
AN3350
Remarks
The compiler implicitly defines this variable at the beginning of each function if the function
refers to __PRETTY_FUNCTION__. This name, function-name, is the same identifier that
appears in source code, not the “mangled” identifier that the compiler and linker use. The
C++ compiler “mangles” a function name by appending extra characters to the function’s
identifier to denote the function’s return type and the types of its parameters.
The ISO/IEC 14882-1998 C++ standard does not specify this symbol.
15.13
__profile__
Preprocessor macro that specifies whether or not the compiler is generating object code for
a profiler.
Syntax
__profile__
Remarks
Defined as 1 when generating object code that works with a profiler. Undefined otherwise.
The ISO standards does not specify this symbol.
15.14
__STDC__
Defined as 1 when compiling ISO/IEC Standard C source code, undefined otherwise.
Syntax
__STDC__
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 ISO/IEC 9899-1990 and ISO/IEC
9899-1999 standards. The compiler does not define this macro otherwise.
15.15
__TIME__
Preprocessor macro defined as a character string representation of the time of compilation.
Syntax
__TIME__
Remarks
The compiler defines this macro as a character string representation of the time of
compilation. The format of this string is
"hh:mm:ss"
122/185
Doc ID 018512 Rev 2