[libc-commits] [PATCH] D156961: [libc] Add limits.h
Alfred Persson Forsberg via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Aug 4 01:27:18 PDT 2023
alfredfo added a comment.
In D156961#4558158 <https://reviews.llvm.org/D156961#4558158>, @michaelrj wrote:
> The `limits.h` header is provided by the compiler, so us providing it will just cause problems
Hmm, are you sure? I thought Clang headers and libc headers were both supposed to be used. Also, Clang headers only have standard C things, no POSIX/GNU extensions... etc.
I know SSIZE_MAX isn't there, also PATH_MAX is not available so it does not include <linux/limits.h> like musl and glibc.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156961/new/
https://reviews.llvm.org/D156961
More information about the libc-commits
mailing list