Go to the previous, next section.

Extensions to the C Language Family

GNU C provides several language features not found in ANSI standard C. (The `-pedantic' option directs GNU CC to print a warning message if any of these features is used.) To test for the availability of these features in conditional compilation, check for a predefined macro __GNUC__, which is always defined under GNU CC.

These extensions are available in C and in the languages derived from it, C++ and Objective C. See section Extensions to the C++ Language, for extensions that apply only to C++.

Go to the previous, next section.