The Intel® C++ Compiler and gcc*/g++* support the following predefined macros:
__GNUC__
__GNUG__
__GNUC_MINOR__
__GNUC_PATCHLEVEL__
You can specify the -no-gcc option to undefine these macros. If you need gcc interoperability (-cxxlib), do not use the -no-gcc compiler option.
Not defining these macros results in different paths through system header files. These alternate paths may be poorly tested or otherwise incompatible.
Copyright © 1996-2010, Intel Corporation. All rights reserved.