From 9f896ee513b518352140f8cfa2296306a318e85f Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 29 Oct 2012 00:17:31 +0000 Subject: [PATCH] * doc/cpp.texi (Search Path): Fix outdated C++ path. From-SVN: r192901 --- gcc/ChangeLog | 4 ++++ gcc/doc/cpp.texi | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8f4ca6c7da2..e1235d2df0c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-10-29 Jonathan Wakely + + * doc/cpp.texi (Search Path): Fix outdated C++ path. + 2012-10-28 Jan Hubicka * ipa-inline-analysis.c (eliminated_by_inlining_prob): Handle diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index fa5989e6bde..c463e7c2a82 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -856,7 +856,8 @@ 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{@var{libdir}/../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 -- 2.30.2