This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] For PR libstdc++/33203.
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: Danny Smith <dannysmith at clear dot net dot nz>
- Cc: libstdc++ at gcc dot gnu dot org, GCC-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 10 Sep 2007 14:06:47 +0200
- Subject: Re: [PATCH] For PR libstdc++/33203.
- References: <000001c7ef99$1780f2f0$204861cb@THOMAS>
On Wed, Sep 05, 2007 at 08:45:13PM +1200, Danny Smith wrote:
> Hello,
>
> The attached fixes libstdc++/33203 by factoring out the
> definition of os error constants into an os-specific config file,
> error_constants.h, that is installed in <host>/bits/error_constants.h.
[snip]
> Danny Smith <dannysmith@users.sourceforge.net>
>
> 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?
/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
--
Rask Ingemann Lambertsen