tempinc

Option Type Default Value #pragma options C C++
-qoption See below. -   x

Syntax

-qtempinc | -qtempinc=directory | -qnotempinc

Purpose
Generates separate include files for template functions and class declarations, and places these files in a directory which can be optionally specified.

Notes
When you specify -qtempinc, the compiler assigns a value of 1 to the __TEMPINC__ macro. This assignment will not occur if -qnotempinc has been specified.

Default
The default is to generate the separate include files and place them in the tempinc directory of the current directory at compile time.

Example
To compile the file myprogram.C and place the generated include files for the template functions in the /tmp/mytemplates directory, enter:

 xlC myprogram.C -qtempinc=/tmp/mytemplates


Template Instantiation with VisualAge C++

-qtempmax Batch Option
List of Batch Compiler Options and Their Defaults
Equivalent Batch Compile-Link and Incremental Build Options