public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] fix outdated path in cpp.texi
@ 2012-10-18  1:17 Jonathan Wakely
  2012-10-21 20:30 ` Gerald Pfeifer
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Wakely @ 2012-10-18  1:17 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

http://gcc.gnu.org/onlinedocs/cpp/Search-Path.html claims the search
path for C++ headers starts with /usr/include/g++-v3 which hasn't been
true for many years.

2012-10-18  Jonathan Wakely  <jwakely.gcc@gmail.com>

        * doc/cpp.texi (Search Path): Fix outdated C++ path.

Tested with "make doc html" - OK for trunk and the active branches?

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 789 bytes --]

commit 0361812a731853c926adfcaab2e68137b80b9a65
Author: Jonathan Wakely <jwakely.gcc@gmail.com>
Date:   Thu Oct 18 00:32:07 2012 +0100

    	* doc/cpp.texi (Search Path): Fix outdated C++ path.

diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index fa5989e..e05029b 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -856,7 +856,7 @@ requested with @code{@w{#include <@var{file}>}} in:
 /usr/include
 @end smallexample
 
-For C++ programs, it will also look in @file{/usr/include/g++-v3},
+For C++ programs, it will also look in @file{/usr/include/c++/@var{version}},
 first.  In the above, @var{target} is the canonical name of the system
 GCC was configured to compile code for; often but not always the same as
 the canonical name of the system it runs on.  @var{version} is the


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-29  0:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-18  1:17 [patch] fix outdated path in cpp.texi Jonathan Wakely
2012-10-21 20:30 ` Gerald Pfeifer
2012-10-21 21:57   ` Jonathan Wakely
2012-10-29  0:03     ` Gerald Pfeifer
2012-10-29  0:43       ` Jonathan Wakely
2012-10-29  0:49         ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).