[PATCH 0/2] newlib: fix compilation with clang

H. Peter Anvin hpa@zytor.com
Thu Dec 3 21:40:10 GMT 2026


This patchset fixes a couple of gcc-isms that break compilation with
clang (at least with clang 23.1.6 on Linux.

H. Peter Anvin (2):
  newlib: don't #include_next <limits.h> for clang
  newlib: fix compiling stdbit_internal.h with clang

 newlib/libc/include/limits.h         | 7 ++++---
 newlib/libc/stdbit/stdbit_internal.h | 8 ++++++++
 2 files changed, 12 insertions(+), 3 deletions(-)

-- 
2.56.1



More information about the Newlib mailing list