This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/23559] g++ -pedantic-errors + newlib => failed test
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2005 12:18:02 -0000
- Subject: [Bug testsuite/23559] g++ -pedantic-errors + newlib => failed test
- References: <20050825095153.23559.rearnsha@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From joseph at codesourcery dot com 2005-08-25 12:17 -------
Subject: Re: g++ -pedantic-errors + newlib => failed
test
On Thu, 25 Aug 2005, pinskia at gcc dot gnu dot org wrote:
> I thought we changed it to use -isystem but I could be wrong.
Indeed, this is one problem of using a too-old version of DejaGnu, i.e.
predating the patch
2002-11-12 Hans-Peter Nilsson <hp@bitrange.com>
* lib/libgloss.exp (newlib_include_flags): Use -isystem, not -I.
(libio_include_flags, g++_include_flags, libstdc++_include_flags,
winsup_include_flags): Ditto.
which is included in the documented minimum version (1.4.4).
http://gcc.gnu.org/ml/gcc/2003-05/msg01670.html
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00825.html
(The latter of these was followed by a long discussion on the binutils /
gdb-patches / newlib lists of problems with this patch in particular
cases, but 1.4.4 is still the minimum version and there is no longer a
separate dejagnu copy in the src repository.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23559