no-gcc

Prevents the compiler from predefining the __GNUC__, __GNUC_MINOR__, and __GNUC_PATCHLEVEL__ macros.

IDE Equivalent

Windows: None

Linux: Preprocessor > Do Not Predefine _GNUC_

Mac OS: Preprocessor > Do Not Predefine gcc Macros

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: -no-gcc
Windows:    None

Arguments

None

Default

OFF      The compiler supports macros __GNUC__, __GNUC_MINOR__, and __GNUC_PATCHLEVEL__.

Description

This option prevents the compiler from predefining the __GNUC__, __GNUC_MINOR__, and __GNUC_PATCHLEVEL__ macros.

Alternate Options

None