suppress_init_code

Controls the suppression of static initialization object code.

Syntax

#pragma suppress_init_code on | off | reset

Targets
All platforms.
Remarks

If you enable this pragma, the compiler does not generate any code for static data initialization such as C++ constructors.

WARNING! Beware when using this pragma because it can produce erratic or unpredictable behavior in your program.

This pragma does not correspond to any panel setting. To check this setting, use __option (suppress_init_code), described in Checking Settings. The default setting is off.