CVFT | NOCVFT (C++ only)

Category

Object code control

Pragma equivalent

None.

Purpose

Shrinks the size of the writeable static area (WSA) by eleminating the construction virtual function tables (CVFT), which in turn may reduce the load module size to improve your application's performance.

When the CVFT option is in effect, the compiler doesn't shrink the size of the WSA.

NOCVFT prevents constructors from tracking which virtual function to call at different stages of the construction process. Only constructors that call virtual functions within a class hierarchy that uses virtual inheritance or does base address calculation are affected. Use NOCVFT if none of the constructors in your application call virtual functions from within the class hierarchy or you don't cast to another subobject's base, either directly or indirectly.

Syntax

Read syntax diagramSkip visual syntax diagramCVFTNOCVFT

Defaults

CVFT

Usage

The CVFT option is shown on the listing prolog and the text deck end card.

IPA effects

The IPA link step issues a diagnostic message if you specify the CVFT option for that step.

Predefined macros

None.