Option Type | Default Value | #pragma options | C | C++ |
-flag | See below. | - | x |
Syntax
-qtempinc | -qtempinc=directory | -qnotempinc
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 Compiler Options and Their
Defaults