HP aC++/HP C A.06.20 Programmer's Guide
This option is strongly discouraged and the sources should be modified to conform to
the standard.
Example:
aCC +inst_implicit_include prog.C
If prog.C includes a template declaration file named template.h, the compiler
assumes a template definition file name determined by the +inst_include_suffixes
option.
See Chapter 5: “Using HP aC++ Templates” (page 169) for more information.
NOTE: This option is supported in C++ only and ignored in C-mode.
+inst_include_suffixes
+inst_include_suffixes "list"
The +inst_include_suffixes option specifies the file name extensions that the
compiler uses to locate template definition files. This option must be used with the
+inst_implicit_include option.
list is a set of space separated file extensions or suffixes, enclosed in quotes, that
template definition files can have.
The default extensions in order of precedence are:
• .c
• .C
• .cxx
• .CXX
• .cc
• .CC
• .cpp
User-specified extensions must begin with a dot and must not exceed four characters
in total. Any extension that does not follow these rules causes a warning and is ignored.
These restrictions do not apply in HP aC++. Therefore, if your code was written for HP
C++ and you wish to follow the cfront-based HP C++ template definition file naming
conventions when compiling with HP aC++, you need to specify the
+inst_include_suffixes option.
The following example specifies that template definition files can have extensions of
.c or .C:
+inst_include_suffixes ".c .C"
The +inst_include_suffixes option is equivalent to the HP C++ -ptS option.
See Chapter 5: “Using HP aC++ Templates” (page 169) for more information.
120 Command-Line Options