From: sandra Date: Sat, 17 Nov 2018 16:59:26 +0000 (+0000) Subject: 2018-11-17 Sandra Loosemore X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9518fecf8db387011fc42911fba644a792688abc;p=thirdparty%2Fgcc.git 2018-11-17 Sandra Loosemore PR c++/4225 gcc/ * doc/cpp.texi (System Headers): Add note about implicit extern "C" block on targets that define SYSTEM_IMPLICIT_EXTERN_C. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266240 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7362f269c1cc..dd790a26acb6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-11-17 Sandra Loosemore + + 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 PR c++/4025 diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 25518ee4a050..568b82894307 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