[v3] cleanup testsuite for newlib targets

Richard Guenther richard.guenther@gmail.com
Fri Mar 23 11:10:00 GMT 2007


On 3/23/07, Richard Guenther <richard.guenther@gmail.com> wrote> On
3/23/07, Benjamin Kosnik <bkoz@redhat.com> wrote:
> >
> > > Ah, the offender seems to be (I overlooked that):
> > >
> > > /gcc/spec/sb-vangelis-head-64/x86_64/install-200703230136/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../include/c++/4.3.0/c++0x_warning.h:36:2:
> > >
> > > error: #error This file requires compiler and library support for the
> > > upcoming ISO C++ standard, C++0x. This support is currently
> > > experimental, and must be enabled with the -std=c++0x or -std=gnu++0x
> > > compiler options.
> >
> > Ok, well let me know if -std=gnu++0x works, if not I'll back out the
> > Makefile.am bits.
>
> Yes, -std=gnu++0x works, but why should I now need this to include fenv.h?

I suppose the compatibility fenv.h should instead of

#include <cfenv>

#ifndef _GLIBCXX_FENV_H
#define _GLIBCXX_FENV_H 1

#endif

look like

#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <cfenv>
#else
#include_next <fenv.h>
#endif

Richard.



More information about the Gcc-patches mailing list