-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Open
Labels
Description
FWICT, sysexits.h is a BSD extension. It's used in llvm when building clang:
In file included from /llvm-project-main/llvm/lib/Support/Signals.cpp:277:
In file included from /llvm-project-main/llvm/lib/Support/Unix/Signals.inc:39:
/llvm-project-main/llvm/include/llvm/Support/ExitCodes.h:30:2: error: Exit code EX_IOERR not available
30 | #error Exit code EX_IOERR not available
| ^
FWICT, it's because llvm-libc doesn't provide sysexits.h. LLVM only cares about EX_IOERR (I think I was involved in this code, a lifetime ago, for detecting writes to broken pipes...)