[PATCH 0/2] tools/nolibc: avoid -Wundef warnings

Thomas Weißschuh posted 2 patches 2 weeks, 4 days ago
tools/include/nolibc/compiler.h                 | 8 +++++++-
tools/testing/selftests/nolibc/Makefile.include | 3 ++-
2 files changed, 9 insertions(+), 2 deletions(-)
[PATCH 0/2] tools/nolibc: avoid -Wundef warnings
Posted by Thomas Weißschuh 2 weeks, 4 days ago
Make sure nolibc does not trigger -Wundef warnings.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (2):
      tools/nolibc: avoid -Wundef warning for __STDC_VERSION__
      selftests/nolibc: enable -Wundef

 tools/include/nolibc/compiler.h                 | 8 +++++++-
 tools/testing/selftests/nolibc/Makefile.include | 3 ++-
 2 files changed, 9 insertions(+), 2 deletions(-)
---
base-commit: d59131de97ee69ab4e4b8926089a6e953d699b11
change-id: 20260318-nolibc-wundef-fee232c29559

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>

Re: [PATCH 0/2] tools/nolibc: avoid -Wundef warnings
Posted by Willy Tarreau 2 weeks, 1 day ago
On Wed, Mar 18, 2026 at 05:12:41PM +0100, Thomas Weißschuh wrote:
> Make sure nolibc does not trigger -Wundef warnings.
> 
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>

Yeah I think it's fairly reasonable like this. For the whole series:

Acked-by: Willy Tarreau <w@1wt.eu>

Thanks!
Willy