Table 13 Obsolete Command-Line Options (continued)

Option

Description

-pts

Splits template instantiations into separate object files.

 

 

-ptS"list"

Specifies file name extensions for template definition files.

 

 

-ptv

Provides verbose information about template processing. For HP aC++, use the +inst v option.

 

 

Translator Mode Options

 

 

+a0

Causes the translator to produce Classic C style declarations.

 

 

+a1

Causes the translator to produce ANSI C style declarations.

 

 

-F

Runs only the preprocessor and translator, and sends the resulting source code to standard output

 

(stdout).

 

 

-Fc

Similar to the -Foption, except that C source code is generated.

 

 

+i

Generates an intermediate C language source file that has the file name suffix ..c in the current

 

directory.

 

 

+m

Provides maximum compatibility with the USL C++ implementation.

 

 

+Rnumber

Promotes only first number register variables to the register class.

 

 

+T

Requests translator mode.

 

 

+xfile

Reads a file of data types, sizes, and alignments that the compiler uses when generating code.

 

 

Virtual Table Options

 

 

+e0

Causes virtual tables to be external and defined elsewhere, that is, uninitialized.

 

 

+e1

Causes virtual tables to be declared externally and defined in a given module, that is initialized.

Changed Command-Line Options

Functionality for the following options is different for HP C++ (cfront) than it is for HP aC++. Table 14 lists and describes the obsolete command-line options for HP aC++.

Table 14 Changed Command-Line Options

Option

Description

-E

Runs the preprocessor only on named C++ files, not on assembly files, and sends the result to

 

standard output (stdout).

 

 

-g

Generates minimal information for the debugger (as does the -g1option). This is the default option.

 

The -g0option replaces -gand generates complete debug information for the debugger.

 

See “Debugging Options” (page 35) for more information.

-tx,nameThe following values for x are related to translator mode and template subprocesses and are not supported in HP aC++.

0 (zero) - C compiler

c - C compiler

i - Link-time template processor, c++ptlink

m - merge tool, c++merge

p - preprocessor

Command-Line Differences 201