User's Guide

Specifying -ext, enables the following HP aC++ extensions to the C++ standard:
64-bit integer data type support for:
long long (signed 64-bit integer)
unsigned long long (unsigned 64-bit integer)
Use this option to declare 64-bit integer literals and for input and output of 64-bit integers.
#assert, #unassert preprocessor directives, which allow you to set a predicate name or
predicate name and token to be tested with a #if directive.
When this option is used with -AC89 or -AC99, it defines the following macros:
-D__STDC_EXT__
-D_HPUX_SOURCE (unless -Aa is used)
NOTE: When using -ext, specify it at both compile and link time. For example:
aCC -ext foo.C
compiles foo.C which contains a long long declaration.
#include <iostream.h>
int main(){
long long ll = 1;
cout << ll << endl;
}
+e
The +e option is equivalent to the -ext option.
Floating-Point Processing Options
The following command-line options are used for floating-point processing.
+O[no]cxlimitedrange
+O[no]cxlimitedrange
The +O[no]cxlimitedrange option enables [disables] the specific block of codes with the usual
mathematical formulas. This option is equivalent to adding the pragma:
#pragma STDC CX_LIMITED_RANGE
The default is +Onocxlimitedrange.
+O[no]fenvaccess
+O[no]fenvaccess
The +O[no]fenvaccess option provides a means to inform the compiler when a program might
access the floating-point environment to test flags or run under non-default modes.
Use of the +Onofenvaccess option allows certain optimizations that could subvert flag tests and
mode changes such as global common subexpression elimination, code motion, and constant
folding. This option is equivalent to adding #pragma STDC FENV_ACCESS ON at the beginning
of each source file submitted for compilation.
The default is +Onofenvaccess.
42 Command-Line Options