[libc-commits] [libc] [libc] force GCC limits.h to not include_next limits.h (PR #79211)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Jan 23 15:01:14 PST 2024


jhuber6 wrote:

> > Seems weird to make clang the one that we can include_next
> 
> Where is `include_next` that you're referring to?

I'm unsure how we expect all of these to work. The compiler provides resource directories, which then include the system's versions unless STDC_HOSTED isn't set. We wrap around these to augment tyhem for some things. The idea was that we can't control GCC, so we'd do it in a header. But if GCC is excluded we can just update clang, since those are the only supported compilers right now.

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


More information about the libc-commits mailing list