ecplusplus. NXP CodeWarrior Development Studio
Anúncio
Anúncio
Chapter 29 Pragmas for C++
Controls the generation of inline functions.
Syntax
#pragma dont_inline on | off | reset
Remarks
If you enable this pragma, the compiler does not inline any function calls, even those declared with the inline
keyword or within a class declaration. Also, it does not automatically inline functions, regardless of the setting of the auto_inline
pragma,
described in "auto_inline" on page 195.
If you disable this pragma, the compiler expands all inline function calls, within the limits you set through other inlining-related pragmas.
This pragma corresponds to the Do not Inline setting in the CodeWarrior IDE's C/C++
Language settings panel. By default, this pragma is off
.
29.19 ecplusplus
Controls the use of embedded C++ features.
Syntax
#pragma ecplusplus on | off | reset
Remarks
If you enable this pragma, the C++ compiler disables the non-EC++ features of ISO/IEC
14882:2003 C++ such as templates, multiple inheritance, and so on.
This pragma corresponds to the EC++ Compatibility Mode setting in the CodeWarrior
IDE's Properties > C/C++ Build > Settings > Tool Settings > PowerPC Compiler> C/
C++ Language settings panel. By default, this pragma is off
.
29.20 exceptions
Controls the availability of C++ exception handling.
Syntax
#pragma exceptions on | off | reset
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
Freescale Semiconductor, Inc.
441
Download
Anúncio