HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
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 163) for more information.
NOTE: This option is supported in C++ only and ignored in C-mode.
Trigraph Processing Suppression Option
The -notrigraphoption suppresses trigraph processing.
-notrigraph
The-notrigraph option inhibits the processing of trigraphs. In previous versions,
[LINEBREAK]-notrigraph caused the legacy preprocessor to be invoked. Though this
ignored trigraphs, trigraphs were still interpreted by the compiler in the preprocessed
source. The -notrigraph option no longer invokes the legacy preprocessor, and also
suppresses trigraphs from being interpreted.
This option is not recommended. The proper portable solution is to quote the "?" as "\?".
112 Command-Line Options