https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- 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 which don't check __cplusplus anyway.