Intel® C++ Compiler 16.0 User and Reference Guide
Determines whether certain GNU macros are defined or undefined.
Linux and OS X: | -gcc -no-gcc -gcc-sys |
Windows: | None |
None
-gcc |
The compiler defines the GNU macros __GNUC__, __GNUC_MINOR__, and __GNUC_PATCHLEVEL__ |
This option determines whether the GNU macros __GNUC__, __GNUC_MINOR__, and __GNUC_PATCHLEVEL__ are defined or undefined.
Option |
Description |
---|---|
-gcc |
Defines GNU macros. |
-no-gcc |
Undefines GNU macros. |
-gcc-sys |
Defines GNU macros only during compilation of system headers. |
Visual Studio: None
Eclipse: Preprocessor > gcc Predefined Macro Enablement
Xcode: Preprocessor > Predefine gcc Macros
None