Hi Branden,
A problem immediately arose on macOS 12.6.3. It's our good friend
vasnprintf again. Logs are available on Savannah[2].
lib/vasnprintf.c:411:16: error: expected parameter declarator
static_assert (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS);
^
lib/vasnprintf.c:411:16: error: expected ')'
lib/vasnprintf.c:411:15: note: to match this '('
static_assert (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS);
^
lib/vasnprintf.c:411:1: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
static_assert (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS);
^
lib/vasnprintf.c:415:16: error: expected parameter declarator
static_assert (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS);
^
lib/vasnprintf.c:415:16: error: expected ')'
lib/vasnprintf.c:415:15: note: to match this '('
static_assert (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS);
^
lib/vasnprintf.c:415:1: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
static_assert (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS);
^
I can reproduce the issue on a macOS 12.5 machine (gcc104.fsffrance.org —
you can surely get an account there too).
The command
$ make lib/vasnprintf.o V=1
shows me the compiler command line that failed:
depbase=`echo lib/vasnprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I./src/include -I../src/include -I../lib
-I./src/include -I./lib -I/Users/haible/include -Wall -g -O2 -MT lib/vasnprintf.o -MD
-MP -MF $depbase.Tpo -c -o lib/vasnprintf.o ../lib/vasnprintf.c &&\
mv -f $depbase.Tpo $depbase.Po
...