In yesterday's CI run, I see a compilation error on Alpine Linux and on OpenBSD.
On Alpine Linux:
gcc -I. -I.. -I./lib -Ilib -I../lib -Isrc -I../src -Wall -Wno-cast-qual
-Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -g -O2
-MT lib/libcoreutils_a-mbbuf.o -MD -MP -MF lib/.deps/libcoreutils_a-mbbuf.Tpo
-c -o lib/libcoreutils_a-mbbuf.o `test -f 'lib/mbbuf.c' || echo
'../'`lib/mbbuf.c
In file included from ../lib/mbbuf.c:22:
../lib/mbbuf.h:41:19: error: 'UINT32_MAX' undeclared here (not in a function)
41 | #define MBBUF_EOF UINT32_MAX
| ^~~~~~~~~~
../lib/mbbuf.h:44:32: note: in expansion of macro 'MBBUF_EOF'
44 | static_assert (MCEL_CHAR_MAX < MBBUF_EOF);
| ^~~~~~~~~
../lib/mbbuf.h:34:1: note: 'UINT32_MAX' is defined in header '<stdint.h>'; this
is probably fixable by adding '#include <stdint.h>'
33 | #include "idx.h"
+++ |+#include <stdint.h>
34 |
../lib/mbbuf.h:44:16: error: expression in static assertion is not an integer
44 | static_assert (MCEL_CHAR_MAX < MBBUF_EOF);
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:17084: lib/libcoreutils_a-mbbuf.o] Error 1
On OpenBSD:
cc -I. -I.. -I./lib -Ilib -I../lib -Isrc -I../src -I/usr/local/include -Wall
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-string-plus-int
-Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion
-Wno-type-limits -Wno-unused-const-variable -Wno-error -g -O2 -MT
lib/libcoreutils_a-mbbuf.o -MD -MP -MF lib/.deps/libcoreutils_a-mbbuf.Tpo -c -o
lib/libcoreutils_a-mbbuf.o `test -f 'lib/mbbuf.c' || echo '../'`lib/mbbuf.c
In file included from ../lib/mbbuf.c:22:
../lib/mbbuf.h:44:32: error: use of undeclared identifier 'UINT32_MAX'
static_assert (MCEL_CHAR_MAX < MBBUF_EOF);
^
../lib/mbbuf.h:41:19: note: expanded from macro 'MBBUF_EOF'
#define MBBUF_EOF UINT32_MAX
^
../lib/mbbuf.h:156:29: error: use of undeclared identifier 'UINT32_MAX'
return (mcel_t) { .ch = MBBUF_EOF };
^
../lib/mbbuf.h:41:19: note: expanded from macro 'MBBUF_EOF'
#define MBBUF_EOF UINT32_MAX
^
2 errors generated.
gmake[2]: *** [Makefile:17084: lib/libcoreutils_a-mbbuf.o] Error 1