[Bug libstdc++/107008] Combine config/os/*/error_constants.h into one file

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107008 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/107008] Combine config/os/*/error_constants.h into one file

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107008 --- Comment #2 from Jonathan Wakely --- A related topic is that we simply don't define the errc enumerators that don't have a corresponding E macro, which is non-conforming. The C++ standard says the enumerators should all be there. We cou

[Bug libstdc++/107008] Combine config/os/*/error_constants.h into one file

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107008 --- Comment #1 from Jonathan Wakely --- In theory the existing per-target error_constants.h allows an out-of-tree port for a new OS to use its own error_constants.h more easily. Meh. They would still need to edit configure.host to overrride ${er