suppress_init_code. NXP CodeWarrior Development Studio
Quảng cáo
Quảng cáo
Chapter 29 Pragmas for C++
Remarks
If you enable this pragma, you can use runtime type information (or RTTI) features such as dynamic_cast
and typeid
. The other RTTI expressions are available even if you disable the Enable RTTI setting. Note that
*type_info::before(const type_info&) is not implemented.
This pragma corresponds to the Enable RTTI setting in the CodeWarrior IDE's
Properties > C/C++ Build > Settings > Tool Settings > Compiler> C/C++ Language
settings panel.
29.40 suppress_init_code
Controls the suppression of static initialization object code.
Syntax
#pragma suppress_init_code on | off | reset
Remarks
If you enable this pragma, the compiler does not generate any code for static data initialization such as C++ constructors.
NOTE
Using this pragma because it can produce erratic or unpredictable behavior in your program.
This pragma does not correspond to any panel setting. By default, this pragma is disabled.
29.41 template_depth
Controls how many nested or recursive class templates you can instantiate.
#pragma template_depth(n)
Remarks
CodeWarrior Development Studio for Advanced Packet Processing Build Tools Reference Manual, Rev.
10.2, 01/2016
Freescale Semiconductor, Inc.
463
Tải xuống
Quảng cáo