[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2022-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4b5211c85aed64c7f6034dad8f57e03c0302c5ec commit r9-10061-g4b5211c85aed64c7f6034dad8f57e03c0302c5ec Author: Jonathan Wakel

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2022-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:740e1ae17770d8e4829714c689f5471d235184b7 commit r9-10062-g740e1ae17770d8e4829714c689f5471d235184b7 Author: Jonathan Wakel

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2021-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f1b7f082d09a5ebcf7632b1fd446551f480dc9a8 commit r10-9577-gf1b7f082d09a5ebcf7632b1fd446551f480dc9a8 Author: Jonathan Wakel

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2021-03-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #9 from Jonathan Wakely --- And for 10.3

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2021-04-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 Jonathan Wakely changed: What|Removed |Added Assignee|redi at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #5 from Jonathan Wakely --- http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2227r0.html fixed C++ to depend on a later POSIX standard which defines EOWNERDEAD and ENOTRECOVERABLE but that won't help existing system headers wh

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a2c2eec183acf25c9b214fa0827718e4d2fdfc93 commit r11-6137-ga2c2eec183acf25c9b214fa0827718e4d2fdfc93 Author: Jonathan Wakely Date:

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-12-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #7 from Jonathan Wakely --- Fixed on trunk so far.

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-01-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-01-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #1 from Jonathan Wakely --- The config/os/generic/error_constants.h file already uses these macros conditionally: #ifdef _GLIBCXX_HAVE_ENOTRECOVERABLE state_not_recoverable = ENOTRECOVERABLE, #endif The probl

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-01-09 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #2 from Marc Glisse --- (In reply to Jonathan Wakely from comment #1) > I don't know what the advantage of testing for them at configure time is. Strange systems that define them as enum values and not macros?

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-01-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #3 from Jonathan Wakely --- POSIX doesn't allow that. If such systems exist, they should provide their own config/os/*/error_constants.h header with the correct set of constants. The generic/error_constants.h file should assume POSIX

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-01-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill