HP aCC
Online References
- Developer & Solution Partner Program (DSPP)
- Technical Documentation (including operating systems and other software)
- Development Tools Documentation
- HP aC++ Product Home
- HP aC++/HP C A.06.15 Online Programmer's Guide
- HP aC++ A.03.80 Online Programmer's Guide (http://docs.hp.com/en/11920/HP%20aC++%20Online%20Programmer's%20Guide/index.htm)
- HP Code Advisor Diagnostics
Predefined Macros
See the Predefined Macros section of the HP aCC 6 Programmers Guide for a (possibly) incomplete list of macros predefined by the compiler.
Starting with HP aCC 6.15, the compiler supports the -dM option to list the #define directives the preprocessor encounters as it translates a file.
See also the Bjørn Reese's list of Pre-defined Compiler Macros.
|
HP aCC Predefined Macros |
|
|
MACRO |
HP aCC OPTION |
VERSION |
DESCRIPTION |
|
|
6 |
Defined to 1 in all EDG-based HP aCC compilers. |
|
|
all |
Defined to the version of the compiler in the format |
|
+hpxstd98 (http://docs.hp.com/en/11920/HP%20aC++%20Online%20Programmer's%20Guide/options.htm#opt+hpxstd98) |
3.80 |
Defined to 1 when the |
|
|
all |
Defined on all HP-UX versions. |
|
|
5,6 |
Defined on HP IPF hardware. |
|
|
1, 3 |
Defined on PA-RISC hardware. |
|
|
all |
Defined on all HP-UX versions. |
|
|
all |
Defined on Big Endian versions of HP-UX (both IPF and PA-RISC). |
|
all |
Defined when +DD32 is in effect. |
|
|
all |
Defined when +DD64 is in effect. |
|
|
all |
Defined when exceptions are disabled. |
|
|
all |
Defined when extensions are enabled. |
|
|
|
Defined when extended and quad floating-point data types including |
|
|
all |
Defined when compiling for thread safety. |
|
|
all |
|
|
|
all |
|
|
|
all |
|
|
|
|
Defined when the C++ Standard Library is declared in |
|
|
all |
Defined according to the argument of the |
|
{{_Math_errhandling }} |
|
all |
Always defined to |
Discussion Forums
- CXX-DEV mailing list (MARC archive)