I ran into this problem when compiling an experimental version of
glibc, which uses tzcode internally.
* private.h (static_assert): Override any definition a
nonconforming implementation may provide.
---
private.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/private.h b/private.h
index c3304104..4b035ed7 100644
--- a/private.h
+++ b/private.h
@@ -51,6 +51,7 @@
#endif
#if __STDC_VERSION__ < 202311
+# undef static_assert
# define static_assert(cond) extern int static_assert_check[(cond) ? 1 : -1]
#endif
--
2.43.0