gcc: C Extensions

1 
1 6 Extensions to the C Language Family
1 *************************************
1 
1 GNU C provides several language features not found in ISO standard C.
1 (The '-pedantic' option directs GCC to print a warning message if any of
1 these features is used.)  To test for the availability of these features
1 in conditional compilation, check for a predefined macro '__GNUC__',
1 which is always defined under GCC.
1 
1  These extensions are available in C and Objective-C.  Most of them are
11 also available in C++.  ⇒Extensions to the C++ Language C++
 Extensions, for extensions that apply _only_ to C++.
1 
1  Some features that are in ISO C99 but not C90 or C++ are also, as
1 extensions, accepted by GCC in C90 mode and in C++.
1 

Menu