diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2018-11-17 11:59:26 -0500 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2018-11-17 11:59:26 -0500 |
commit | 9472dfbf21e34bbca599c15fd31c7341af3fda29 (patch) | |
tree | dd56c6d90f6be54d0f121b47c9647e203c01e1c0 /gcc/doc/cpp.texi | |
parent | 3337f9bf48a1b6893d0f58a2b4ddad4d3f2c2833 (diff) | |
download | gcc-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.texi | 3 |
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 |