Option Type | Default Value | #pragma options | C | C++ |
-qopt | See below. | - | x |
Syntax
-qvftable | -qnovftable
Purpose
Controls the generation of virtual function tables.
Notes
Specifying -qvftable generates virtual function tables for all classes
with virtual functions that are defined in the current compilation unit.
If you specify -qnovftable, no virtual function tables are generated in the current compilation unit.
Default
The default is to define the virtual function table for a class if the current
compilation unit contains the body of the first non-inline virtual member function
declared in the class member list.
Example
To compile the file myprogram.C so that no virtual function tables are generated,
enter:
xlC myprogram.C -qnovftable
List of Batch Compiler Options and Their Defaults
Equivalent Batch Compile-Link and Incremental
Build Options