From patchwork Wed Oct 17 23:41:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fix outdated path in cpp.texi Date: Wed, 17 Oct 2012 13:41:02 -0000 From: Jonathan Wakely X-Patchwork-Id: 192169 Message-Id: To: gcc-patches 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 * doc/cpp.texi (Search Path): Fix outdated C++ path. Tested with "make doc html" - OK for trunk and the active branches? commit 0361812a731853c926adfcaab2e68137b80b9a65 Author: Jonathan Wakely 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