This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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. I have left all the ifdef _GLIBCXX_HAVE_E*'s in the generic error_code.h and in the configury. I think they should be removed eventually, in favor of os-specific error_constants.h. Is this approach OK. I have not yet attempted to hack types_std_c++0x.cc testsuite to pass on mingw32 :( :ADDPATCH libstdc++: ChangeLog 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
Attachment:
pr33203.diff
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |