04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler-specific Features<br />

Table 4-24 Predefined macros (continued)<br />

Name Value When defined<br />

__CC_<strong>ARM</strong> 1 Always set to 1 for the <strong>ARM</strong> compiler, even when you specify the<br />

--thumb option.<br />

__CHAR_UNSIGNED__ – In GNU mode. It is defined if and only if char is an unsigned type.<br />

__DATE__ date Always defined.<br />

__EDG__ – Always defined.<br />

__EDG_IMPLICIT_USING_STD – In C++ mode when you specify the --implicit_using_std option.<br />

__EDG_VERSION__ – Always set to an integer value that represents the version number of the<br />

Edison Design Group (EDG) front-end. For example, version 3.8 is<br />

represented as 308.<br />

The version number of the EDG front-end does not necessarily match<br />

the RVCT or <strong>RealView</strong> Development Suite version number.<br />

__EXCEPTIONS 1 In C++ mode when you specify the --exceptions option.<br />

__FEATURE_SIGNED_CHAR – When you specify the --signed_chars option (used by CHAR_MIN and<br />

CHAR_MAX).<br />

__FILE__ name Always defined as a string literal.<br />

__FP_FAST – When you specify the --fpmode=fast option.<br />

__FP_FENV_EXCEPTIONS – When you specify the --fpmode=ieee_full or --fpmode=ieee_fixed<br />

options.<br />

__FP_FENV_ROUNDING – When you specify the --fpmode=ieee_full option.<br />

__FP_IEEE – When you specify the --fpmode=ieee_full, --fpmode=ieee_fixed, or<br />

--fpmode=ieee_no_fenv options.<br />

__FP_INEXACT_EXCEPTION – When you specify the --fpmode=ieee_full option.<br />

__GNUC__ ver When you specify the --gnu option. It is an integer that shows the<br />

current major version of the GNU mode being used.<br />

__GNUC_MINOR__ ver When you specify the --gnu option. It is an integer that shows the<br />

current minor version of the GNU mode being used.<br />

__GNUG__ ver In GNU mode when you specify the --cpp option. It has the same value<br />

as __GNUC__.<br />

__IMPLICIT_INCLUDE – When you specify the --implicit_include option.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 4-199<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!