HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
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.
48 Command-Line Options