[PATCH] For PR libstdc++/33203.

Danny Smith dannysmith@clear.net.nz
Mon Sep 10 21:25:00 GMT 2007


> > 
> > 	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
> 



More information about the Gcc-patches mailing list