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 (a large subset of) Intel C++ predefined macros. ------------------------------------------------------------------------------ ||`__GNUC__`|| ||all||<style="text-align:left">Defined to the major version of the compiler.|| ||`__GNUC_MINOR__`|| ||all||<style="text-align:left">Defined to the minor version of the compiler.|| ||`__GNUC_PATCHLEVEL__`|| ||all||<style="text-align:left">Defined to the micro (patch) version of the compiler.|| - ||`__GNUG__`|| ||all||<style="text-align:left">Defined to the same value as `__GUNC__` for C++ code.|| + ||`__GNUG__`|| ||all||<style="text-align:left">Defined to the same value as `__GUNC__` in C++ mode.|| ||`__CYGWIN__`||[http://www.cygwin.com Cygwin]||all||<style="text-align:left">Defined whe compiling for the Cygwin environment.|| ||`__MINGW32__`||[http://www.mingw.org MinGW]||all||<style="text-align:left">Defined whe compiling for the MinGW environment.|| @@ -87, +87 @@ * [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/284132.htm Intel Compilers] page. === Predefined Macros === + + ||||||||||||||<tablestyle="text-align:center;">Intel C++ Predefined Macros|| + ||<rowstyle="background-color:powderblue;font-weight:bold">MACRO||Arch||OS||Intel C++ OPTION||VERSION||DESCRIPTION|| + ||`__INTEL_COMPILER`||all||all|| ||all||<style="text-align:left">Defined to 1.|| + ||`__ECC`||IA64||all|| ||all ||<style="text-align:left">Defined to the compiler version.|| + ||`__EDG__`||all||all|| ||all||<style="text-align:left">Always defined to 1.|| + ||`__EDG_VERSION__`||all||all|| ||all||<style="text-align:left">Defined to the version of the EDG eccp front end used by the compiler.|| + ||`__GNUC__`||all||Linux|| ||all||<style="text-align:left">Defined to the major version of gcc the compiler is configure to use.|| + ||`__GNUG__`||all||Linux|| ||all||<style="text-align:left">Defined to the same value as `__GUNC__` in C++ mode.|| + ||`__i386`, `__i386__`, `i386`||i86||all|| ||all||<style="text-align:left">Defined to 1 on i86 and compatible processors.|| + ||`__ia64`, `__ia64__`||IA64||all|| ||all||<style="text-align:left">Defined to 1 on IA64 processors.|| + ||`__ICC`||i86, Intel 64||all|| ||all||<style="text-align:left">Defined to the compiler version.|| + ||`__INTEL_COMPILER`||all||all|| ||all||<style="text-align:left">Defined to the compiler version.|| + ||`__INTEL_COMPILER_BUILD_DATE`||all||all|| ||8.0+||<style="text-align:left">Defined to the compiler build date in the format `YYYYMMDD`.|| + ||`__itanium__`||IA64||all|| ||all||<style="text-align:left">Defined to 1 on IA64 processors.|| + ||`__linux`, `__linux__`, `linux`||all||Linux|| ||all||<style="text-align:left">Defined to 1 on Linux.|| + ||`__lp64`, `__LP64__`, `_LP64`||Intel 64, IA64||all|| ||all||<style="text-align:left">Defined to 1 in LP64 mode.|| + ||`__PTRDIFF_TYPE__`||all||all|| ||all||<style="text-align:left">Defined to the underlying type of `ptrdiff_t`.|| + ||`__SIZE_TYPE__`||all||all|| ||all||<style="text-align:left">Defined to the underlying type of `size_t`.|| + ||`__unix`, `__unix__`, `unix`||all||Linux|| ||all||<style="text-align:left">Defined to 1 on Linux.|| + ||`__VERSION__`||all||all|| ||all||<style="text-align:left">Defined to the version string.|| + ||`__WCHAR_TYPE__`||all||all|| ||all||<style="text-align:left">Defined to the underlying type of `wchar_t`.|| + ||`__WINT_TYPE__`||all||all|| ||all||<style="text-align:left">Defined to the underlying type of `wint_t`.|| + ||`__x86_64`, `__x86_64__`||Intel 64||all|| ||all||<style="text-align:left">Defined to 1 on Intel 64 and compatible processors (including AMD64).|| + === Discussion Forums === === Bug Reports ===