HP aC++/HP C A.06.25 Programmer's Guide
The following sections describe differences in command-line options:
• “New Command-Line Options” (page 263)
• “Obsolete Command-Line Options” (page 263)
• “Changed Command-Line Options” (page 265)
New Command-Line Options
Table 12-1 describes the new options for HP aC++. These options are not available for
HP C++ (cfront). However, if a related option exists, it is noted here.
See Chapter 2: “Command-Line Options” (page 39) to for a complete list of HP aC++
command-line options.
Table 12-1 New Command-Line Options
DescriptionOption
Replaces the -g debugger option. It generates complete debug information for the
debugger.
-g0
Invokes the HP aC++ Online Programmer’s Guide.
+help
Disables exception handling. In HP aC++, exception handling is enabled by default.
In HP C++ (cfront), exception handling is disabled by default. To enable it, use the +eh
option, which is obsolete in HP aC++.
+noeh
Reduces compilation time and executable file size by precompiling common include
(header) files.
Precompiled
Header File
Options
There are new options and new functionality for template processing.
For more information about HP aC++ templates, see Chapter 5: “Using HP aC++
Templates” (page 173).
Template
Options
Obsolete Command-Line Options
Table 12-2 describes obsolete command-line options for HP aC++.
Table 12-2 Obsolete Command-Line Options
DescriptionOption
Debugging Option
In HP C++ (cfront), the -y option generates a Static Analysis database if SoftBench is
installed and /opt/softbench/bin is at the beginning of your path. The option is
not required in HP aC++.
-y
Exception Handling Option
Command-Line Differences 263