Message ID | b354457d-f709-2bc0-3871-97f009eac675@codesourcery.com |
---|---|
State | New |
Headers | show |
Series | [doc,committed] document implicit extern "C" block in system headers | expand |
Index: gcc/doc/cpp.texi =================================================================== --- gcc/doc/cpp.texi (revision 266238) +++ gcc/doc/cpp.texi (working copy) @@ -1131,6 +1131,9 @@ header, no matter where it was found. C system_header}} has no effect in the primary source file. @end itemize +On some targets, such as RS/6000 AIX, GCC implicitly surrounds all +system headers with an @samp{extern "C"} block when compiling as C++. + @node Macros @chapter Macros