This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] For PR libstdc++/33203.
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: 'Rask Ingemann Lambertsen' <rask at sygehus dot dk>
- Cc: libstdc++ at gcc dot gnu dot org, 'GCC-patches' <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 11 Sep 2007 08:57:59 +1200
- Subject: RE: [PATCH] For PR libstdc++/33203.
> >
> > PR libstdc++/33203
> > * configure.host (error_constants_dir): New variable,
> > defaulting to os/generic.
> > ( mingw32*): Overide default.
> > * configure.ac (ERROR_CONSTANTS_SRCDIR): New.
> > * configure: Regenerate.
> > * include/Makefile.am (host_headers): Add
> > $(ERROR_CONSTANTS_SRCDIR)/error_constants.h .
> > * include/Makefile.in: Regenerate.
> > * include/system_error (enum posix_errno): Remove.
> > Include <bits/error_constants.h, instead.
> > * config/os/mingw32/error_constants.h: New.
> > * config/os/generic/error_constants.h
>
> Do you think this might have caused bug 33377, where
> libstdc++ now fails
> to build on cris-axis-elf?
>
I don't think so. I just moved the enum posix_errno into a new file.
Does revision 128227 succeed?
Danny
> /home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/
> include/cris-axis-elf/bits/error_constants.h:118:
> error: 'ENOTSUP' was not declared in this scope
>