https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
--- Comment #7 from cqwrteur <unlvsur at live dot com> --- (In reply to Arsen Arsenović from comment #5) > C does not have a freestanding error.h, indeed. > > We were considering making up some numbers in a high-up range so that we can > provide some non-OS-provided errors that the standard requires, too > > why do you think having the same numbers for both libraries in freestanding > would be beneficial? this seems odd to me Whatever, i will make clang/libc++ be compatible to gcc/libstdc++ here. The LLVM folks wants to put errno.h into the compiler side as an extension for a freestanding C header.