[v3] c++0x includes

Kaveh R. GHAZI ghazi@caip.rutgers.edu
Sun Mar 11 17:41:00 GMT 2007


On Sun, 11 Mar 2007, Paolo Carlini wrote:

> Doug Gregor wrote:
>
> > In addition to -std=c++0x, there is also -std=gnu++0x, which adds the
> > C++0x features but retains GNU extensions. It's just like -std=c++
> > (which enables strict C++98/03) vs. -std=gnu++ (this is the default).
> >
> > So, I suggest just changing the C++0x testing in libstdc++ to use
> > -std=gnu++0x.
>
> Ah, ah, thanks Doug, the comparison to -std=c++ / -std=gnu++ (*the
> default*) is extremely clarifying. Therefore I agree that we should use
> -std=gnu++0x in the new tests. Benjamin?
> Paolo.

I tried using -std=gnu++0x by hand on one of the failures on solaris10 and
it worked.  I'd be happy to test a complete patch of yours if you wish, or
you can just go ahead and make this change cause I'm pretty sure it'll
cure all of them.

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Libstdc++ mailing list