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/Compilers

The comment on the change is:
Added an outline of a page on compiler resources.

New page:
= Compiler Resources =

== GCC ==

=== Online References ===
=== Predefined Macros ===

||MACRO||GCC OPTION||VERSION||DESCRIPTION||
||`__GNUC__`|| ||all||Defined to the major version of the compiler.||
||`__GNUC_MINOR__`|| ||all||Defined to the minor version of the compiler.||
||`__GNUC_PATCHLEVEL__`|| ||all||Defined to the micro (patch) version of the 
compiler.||
||`__GNUG__`|| ||all||Defined to the same value as `__GUNC__` for C++ code.||

=== Discussion Forums ===
=== Bug Reports ===

== HP aCC ==

=== Online References ===
=== 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].

||MACRO||HP aCC OPTION||VERSION||DESCRIPTION||
||`__HP_aCC`|| ||all||Defined to the version of the compiler in the format 
`MMmmuu` (2 digits for each of major, minor, and micro).||
||`__hpux`|| ||all||Defined on all HP-UX versions.||
||`__ia64`|| ||5, 6||Defined on HP IPF hardware.||
||`__hppa`|| ||1, 3||Defined on PA-RISC hardware.||
||`__unix`|| ||all||Defined on all HP-UX versions.||
||`_BIG_ENDIAN`|| ||all||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||Defined when +DD32 is in effect.||
||`_LP64`, 
`__LP64__`||[http://docs.hp.com/en/10946/options.htm#opt+DDdata_model 
+DD64]||all||Defined when +DD64 is in effect.||
||`__HPACC_NOEH`||[http://docs.hp.com/en/10946/options.htm#opt+noeh 
+noeh]||all||Defined when exceptions are disabled.||
||`_HPUX_SOURCE`, 
`__STDC_EXT__`||[http://docs.hp.com/en/10946/options.htm#opt-ext 
-ext]||all||Defined when extensions are enabled.||
||`_FPWIDETYPES`||[http://docs.hp.com/en/10946/options.htm#opt-nofpwidetypes 
-fpwidetypes]|| ||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||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]|| 
||Defined when the C++ Standard Library is declared in `namespace std`.||

=== Discussion Forums ===
=== Bug Reports ===


== IBM XLC/C++ ==

=== Online References ===
=== Predefined Macros ===
=== Discussion Forums ===
=== Bug Reports ===


== Intel C++ ==

=== Online References ===
=== Predefined Macros ===
=== Discussion Forums ===
=== Bug Reports ===


== SGI MIPSpro ==

=== Online References ===
=== Predefined Macros ===
=== Discussion Forums ===
=== Bug Reports ===


== Sun C++ ==

=== Online References ===
=== Predefined Macros ===
=== Discussion Forums ===
=== Bug Reports ===

== Microsoft Visual Studio ==

=== Online References ===
=== Predefined Macros ===
=== Discussion Forums ===
=== Bug Reports ===

----

CategoryPlatform

Reply via email to