From: Sandra Loosemore Date: Sat, 17 Nov 2018 16:59:26 +0000 (-0500) Subject: re PR c++/4225 (documentation about CPLUS_INCLUDE_PATH vs. system headers incomplete) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9472dfbf21e34bbca599c15fd31c7341af3fda29;p=gcc.git re PR c++/4225 (documentation about CPLUS_INCLUDE_PATH vs. system headers incomplete) 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. From-SVN: r266240 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7362f269c1c..dd790a26acb 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 25518ee4a05..568b8289430 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