[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


no_static_dtors

Description:

Controls the generation of static destructors in C++

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

Prototype:
  #pragma no_static_dtors on | off | reset Remarks:

When this option is on, the compiler does not generate object code for any static or global object destructors, reducing the size of the object code.

This pragma is useful for C++ programs that never exit.

The pragma doesn't correspond to an option in any settings panel. By default, this option is off. To check whether this option is on, use __option (no_static_dtors), described in "Checking Options."


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000