[PATCH] For PR libstdc++/33203.
Rask Ingemann Lambertsen
rask@sygehus.dk
Mon Sep 10 12:07:00 GMT 2007
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
More information about the Libstdc++
mailing list