__ide_target(). NXP CodeWarrior Development Studio
Advertentie
Advertentie
Chapter 25 Predefined Macros
static const char __FUNCTION__[] = "
function-name ";
Remarks
The compiler implicitly defines this variable at the beginning of each function if the function refers to
__FUNCTION__
. The character string contained by this array, function-
name
, is the name of the function being compiled.
This implicit variable is undefined outside of a function body.
25.15 __ide_target()
Preprocessor operator for querying the IDE about the active build target.
Syntax
__ide_target("
target_name ") target-name
The name of a build target in the active project in the CodeWarrior IDE.
Remarks
Expands to
1
if target_name is the same as the active build target in the CodeWarrior
IDE's active project. Expands to
0
otherwise. The ISO standards do not specify this symbol.
25.16 __LINE__
Preprocessor macro of the number of the line of the source code file being compiled.
Syntax
__LINE__
Remarks
The compiler defines this macro as a integer value of the number of the line of the source code file that the compiler is translating. The
#line
directive also affects the value that this macro expands to.
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
Freescale Semiconductor, Inc.
413
Downloaden
Advertentie