[v3] c++0x includes

Kaveh R. GHAZI ghazi@caip.rutgers.edu
Tue Mar 6 03:09:00 GMT 2007


On Tue, 6 Mar 2007, Paolo Carlini wrote:

> Benjamin Kosnik wrote:
>
> > Hey. This implements C++0x includes, as per previous discussions, but
> > without any backwards headers removal and updated. I'm hoping to do
> > backwards removal next.
>
> I didn't tell you already, but the final shape of this looks very nice
> to me. I will add on top a couple of specific improvement to avoid
> including too much when -std=c++0x is in effect.
>
> Unfortunately I'm seeing some distracting unexpected failures on
> sparc-sun-solaris2.10:
>
>     http://gcc.gnu.org/ml/gcc-testresults/2007-03/msg00245.html
>
> Maybe Kaveh (or Eric) can provide some additional info from the
> ChangeLog about that (I'm going to wait a bit before committing my
> already posted patch to not include cstdlib, and will also delay other
> improvements in queue...)
> Thanks,
> Paolo.

The new failures are all compile-time errors of this form:

FAIL: 17_intro/headers/c++200x/all.cc (test for excess errors)
Excess errors:
In file included from .../sparc-sun-solaris2.10/libstdc++-v3/include/cmath:600,
                 from .../sparc-sun-solaris2.10/libstdc++-v3/include/complex:49,
                 from .../sparc-sun-solaris2.10/libstdc++-v3/include/tr1/complex:37,
                 from .../sparc-sun-solaris2.10/libstdc++-v3/include/tr1/ccomplex:37,
                 from .../sparc-sun-solaris2.10/libstdc++-v3/include/ccomplex:40,
                 from .../libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc:26:
.../sparc-sun-solaris2.10/libstdc++-v3/include/tr1/cmath:227: error: '::llrint' has not been declared
.../sparc-sun-solaris2.10/libstdc++-v3/include/tr1/cmath:228: error: '::llrintf' has not been declared
.../sparc-sun-solaris2.10/libstdc++-v3/include/tr1/cmath:229: error: '::llrintl' has not been declared
.../sparc-sun-solaris2.10/libstdc++-v3/include/tr1/cmath:231: error: '::llround' has not been declared
.../sparc-sun-solaris2.10/libstdc++-v3/include/tr1/cmath:232: error: '::llroundf' has not been declared
.../sparc-sun-solaris2.10/libstdc++-v3/include/tr1/cmath:233: error: '::llroundl' has not been declared

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



More information about the Libstdc++ mailing list