Compiler Resources
GNU gcc
See the gcc page.
HP aCC
See the HP aCC page.
HP (formerly Compaq, formerly DEC) C++
Online References
Predefined Macros
|
|
|
HP C++ Predefined Macros |
|
|
|
MACRO |
Arch |
HP C++ OPTION |
VERSION |
DESCRIPTION |
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
Discussion Forums
Bug Reports
IBM XLC/C++
- IBM C And C++ Compilers
- IBM XLC/C++ home page.
- IBM VisualAge C++ home page.
Online References
- XLC/C++ 10.1
- Reference for XLC++ 9 and prior
- XLC/C++ 9.0 for AIX
- XLC/C++ 9.0 for Linux
- XLC/C++ 8.0 for AIX
- XLC/C++ 8.0 for Linux
- XLC/C++ 7.0 for AIX
- XLC/C++ 7.0 for Linux
- VisualAge C++ Library for V6.0 and V5.0.
Predefined Macros
- Macros defined by the compiler are documented in the Predefined Macros chapter in the online reference.
Discussion Forums
Bug Reports
Intel C++
Online References
- Intel Compilers page.
[http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/compiler_c/index.htm|Intel® C++ Compiler 11.1 User and Reference Guides]].
Predefined Macros
|
|
|
Intel C++ Predefined Macros |
|
|
|
MACRO |
Arch |
OS |
Intel C++ OPTION |
VERSION |
DESCRIPTION |
|
|
all |
all |
|
all |
Defined to 1. |
|
|
IA64 |
all |
|
all |
Defined to the compiler version. |
|
|
all |
all |
|
all |
Always defined to 1. |
|
|
all |
all |
|
all |
Defined to the version of the EDG eccp front end used by the compiler. |
|
|
all |
Linux |
|
all |
Defined to the major version of gcc the compiler is configure to use. |
|
|
all |
Linux |
|
all |
Defined to the same value as |
|
|
i86 |
all |
|
all |
Defined to 1 on i86 and compatible processors. |
|
|
IA64 |
all |
|
all |
Defined to 1 on IA64 processors. |
|
|
i86, Intel 64 |
all |
|
all |
Defined to the compiler version. |
|
|
all |
all |
|
all |
Defined to the compiler version. |
|
|
all |
all |
|
8.0+ |
Defined to the compiler build date in the format |
|
|
IA64 |
all |
|
all |
Defined to 1 on IA64 processors. |
|
|
all |
Linux |
|
all |
Defined to 1 on Linux. |
|
|
Intel 64, IA64 |
all |
|
all |
Defined to 1 in LP64 mode. |
|
|
all |
all |
|
all |
Defined to the underlying type of |
|
|
all |
all |
|
all |
Defined to the underlying type of |
|
|
all |
Linux |
|
all |
Defined to 1 on Linux. |
|
|
all |
all |
|
all |
Defined to the version string. |
|
|
all |
all |
|
all |
Defined to the underlying type of |
|
|
all |
all |
|
all |
Defined to the underlying type of |
|
|
Intel 64 |
all |
|
all |
Defined to 1 on Intel 64 and compatible processors (including AMD64). |
Discussion Forums
Bug Reports
SGI MIPSpro
Online References
- MIPS Pro 7.4 Programmers Guide
- MIPS Pro 7.4 Pragmas
- MIPS Pro 7.3 Programmers Guide
Predefined Macros
Discussion Forums
Bug Reports
Sun C++
Online References
- Sun Studio home page at the Sun Developer Network
- Sun Studio C++ Features by Release - List of major compiler features and their availability in each Sun C++ release
- Sun Studio 12 Update 1 (CC 5.10) Documentation Online
- Sun Studio12 (CC 5.9) Documentation Online
- Sun Studio 11 (CC 5.8) Documentation Online
- Sun Studio 10 (CC 5.7) Documentation Online
- Sun Studio 9 (CC 5.6) Documentation Online
- Sun Studio 8 (CC 5.5) Documentation Online
Predefined Macros
Discussion Forums
Bug Reports
Performance Tuning
Microsoft Visual Studio
- Microsoft Visual Studio home page.
Online References
- MSDN Library
- Microsoft Visual Studio 2008 (AKA MSVC 9.0)
- Microsoft Visual Studio 2005 (AKA MSVC 8.0)
- Microsoft Visual Studio .NET (AKA MSVC 7.1)
- Microsoft Visual Studio 6.0 (AKA MSVC 6.0)