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....@gmail.com> * 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 <jwakely....@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