__GNUC_PATCHLEVEL__

Previous Common Predefined Macros Next

The macro contains the bugfix version number of the compiler. This can be used to work around differences between different releases of the compiler. It must always be used together with __GNUC__ and __GNUC_MINOR__.

__GNUC_PATCHLEVEL__ is new to GCC 3.0; it is also present in the widely-used development snapshots leading up to 3.0 (which identify themselves as GCC 2.96 or 2.97, depending on which snapshot you have).