aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/cpp.texi
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2018-11-17 11:59:26 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2018-11-17 11:59:26 -0500
commit9472dfbf21e34bbca599c15fd31c7341af3fda29 (patch)
treedd56c6d90f6be54d0f121b47c9647e203c01e1c0 /gcc/doc/cpp.texi
parent3337f9bf48a1b6893d0f58a2b4ddad4d3f2c2833 (diff)
downloadgcc-9472dfbf21e34bbca599c15fd31c7341af3fda29.zip
gcc-9472dfbf21e34bbca599c15fd31c7341af3fda29.tar.gz
gcc-9472dfbf21e34bbca599c15fd31c7341af3fda29.tar.bz2
re PR c++/4225 (documentation about CPLUS_INCLUDE_PATH vs. system headers incomplete)
2018-11-17 Sandra Loosemore <sandra@codesourcery.com> 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
Diffstat (limited to 'gcc/doc/cpp.texi')
-rw-r--r--gcc/doc/cpp.texi3
1 files changed, 3 insertions, 0 deletions
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