diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/cpp.texi | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7362f26..dd790a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2018-11-17 Sandra Loosemore <sandra@codesourcery.com> + PR c++/4225 + * doc/cpp.texi (System Headers): Add note about implicit + extern "C" block on targets that define SYSTEM_IMPLICIT_EXTERN_C. + +2018-11-17 Sandra Loosemore <sandra@codesourcery.com> + PR c++/4025 * doc/invoke.texi (C++ Dialect Options): Clarify usage of -fno-implicit-templates. diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 25518ee..568b828 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -1131,6 +1131,9 @@ header, no matter where it was found. Code that comes before the 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 |