[libcxx-commits] [libcxx] [libc++] Add FreeBSD-specific EINTEGRITY errc value (PR #76364)

Dimitry Andric via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 28 06:51:18 PST 2023


DimitryAndric wrote:

> We should also document the linux-specific flags and guard them behind a `defined(__linux__)`, but that's probably out-of-scope for this patch. It would be good to file a bug report though.

FWIW, I looked at the whole list of errc values, and all of them except `EINTEGRITY` are defined in https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/n4849.pdf#subsection.19.5.1 . So I guess if there are any Linux specific ones they have crept into the standard itself, and we don't have to bother with `#ifdef`s. :)


https://github.com/llvm/llvm-project/pull/76364


More information about the libcxx-commits mailing list