Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Stdcxx Wiki" for change 
notification.

The following page has been changed by MartinSebor:
http://wiki.apache.org/stdcxx/HP_aCC

The comment on the change is:
Moved from the Compilers page.

New page:
== HP aCC ==

=== Online References ===

 * [http://h21007.www2.hp.com/portal/site/dspp Developer & Solution Partner 
Program (DSPP)]
 * [http://www.docs.hp.com/en/index.html Technical Documentation] (including 
operating systems and other software)
 * [http://www.docs.hp.com/en/dev.html Development Tools Documentation]
 * [http://www.hp.com/go/c++ HP aC++ Product Home]
 * [http://docs.hp.com/en/10946/index.htm HP aC++/HP C Online Programmer's 
Guide]
 * 
[http://www.docs.hp.com/en/11925/Diagnostics_Documentation/Diagnostics_index.htm
 HP Code Advisor Diagnostics]

=== Predefined Macros ===

See the [http://docs.hp.com/en/10946/preprocess.htm#macropredef Predefined 
Macros] section of the [http://docs.hp.com/en/10946/index.htm 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 
[http://docs.hp.com/en/10946/options.htm#opt-dM -dM] option to list the #define 
directives the preprocessor encounters as it translates a file.

See also the Bjørn Reese's list of 
[http://predef.sourceforge.net/precomp.html#sec16 Pre-defined Compiler Macros].

||||||||<tablestyle="text-align:center;">HP aCC Predefined Macros||
||<rowstyle="background-color:powderblue;font-weight:bold">MACRO||HP aCC 
OPTION||VERSION||DESCRIPTION||
||`__EDG__`|| ||6||<style="text-align:left">Defined to 1 in all EDG-based HP 
aCC compilers. ||
||`__HP_aCC`|| ||all||<style="text-align:left">Defined to the version of the 
compiler in the format `MMmmuu` (2 digits for each of major, minor, and 
micro).||
||`__hpxstd98`||[http://docs.hp.com/en/11920/HP%20aC++%20Online%20Programmer's%20Guide/options.htm#opt+hpxstd98
 +hpxstd98]||3.80||<style="text-align:left">Defined to 1 when the `+hpxstd98` 
option is used. ||
||`__hpux`|| ||all||<style="text-align:left">Defined on all HP-UX versions.||
||`__ia64`|| ||5,6||<style="text-align:left">Defined on HP IPF hardware.||
||`__hppa`|| ||1, 3||<style="text-align:left">Defined on PA-RISC hardware.||
||`__unix`|| ||all||<style="text-align:left">Defined on all HP-UX versions.||
||`_BIG_ENDIAN`|| ||all||<style="text-align:left">Defined on Big Endian 
versions of HP-UX (both IPF and PA-RISC).||
||`_ILP32`||[http://docs.hp.com/en/10946/options.htm#opt+DDdata_model 
+DD32]||all||<style="text-align:left">Defined when +DD32 is in effect.||
||`_LP64`, 
`__LP64__`||[http://docs.hp.com/en/10946/options.htm#opt+DDdata_model 
+DD64]||all||<style="text-align:left">Defined when +DD64 is in effect.||
||`__HPACC_NOEH`||[http://docs.hp.com/en/10946/options.htm#opt+noeh 
+noeh]||all||<style="text-align:left">Defined when exceptions are disabled.||
||`_HPUX_SOURCE`, 
`__STDC_EXT__`||[http://docs.hp.com/en/10946/options.htm#opt-ext 
-ext]||all||<style="text-align:left">Defined when extensions are enabled.||
||`_FPWIDETYPES`||[http://docs.hp.com/en/10946/options.htm#opt-nofpwidetypes 
-fpwidetypes]|| ||<style="text-align:left">Defined when extended and quad 
floating-point data types including `__float80` are enabled.||
||`_REENTRANT`||[http://docs.hp.com/en/10946/options.htm#opt-mt 
-mt]||all||<style="text-align:left">Defined when compiling for thread safety.||
||`_POSIX_C_SOURCE=199506L`||[http://docs.hp.com/en/10946/options.htm#opt-mt 
-mt]||all|| ||
||`_HPUX_SOURCE`||[http://docs.hp.com/en/10946/options.htm#opt-mt -mt]||all || 
||
||`_THREAD_SAFE`||[http://docs.hp.com/en/10946/options.htm#opt-AP -AP] 
[http://docs.hp.com/en/10946/options.htm#opt-mt -mt]||all|| ||
||`_HP_NAMESPACE_STD`||[http://docs.hp.com/en/10946/options.htm#opt-AA -AA]|| 
||<style="text-align:left">Defined when the C++ Standard Library is declared in 
`namespace std`.||
||`_FLT_EVAL_METHOD`||[http://docs.hp.com/en/10946/options.htm#opt-fpeval 
-fpeval]||all||<style="text-align:left">Defined according to the argument of 
the `-fpeval` option.||
||`_Math_errhandling `|| ||all||<style="text-align:left">Always defined to 
`MATH_ERREXCEPT`.||

=== Discussion Forums ===

 * 
[http://h21007.www2.hp.com/portal/site/dspp/menuitem.ef593a32504c22752c24b83f8973a801/#CXX-dev
 CXX-DEV] mailing list.

=== Bug Reports ===

Reply via email to