[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo-6.8.90 pretest on Solaris 11.4

From: Bruno Haible
Subject: Re: texinfo-6.8.90 pretest on Solaris 11.4
Date: Sun, 23 Oct 2022 01:20:25 +0200

On Solaris 11.4, the compilation fails:

gcc -O2 -DHAVE_CONFIG_H -I. -I../../../gnulib/lib -I../..   
-I/export/home/bruno/prefix64/include -Wall -D_REENTRANT  -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-unsuffixed-float-constants -g -O2 -MT libgnu_a-malloca.o -MD -MP -MF 
.deps/libgnu_a-malloca.Tpo -c -o libgnu_a-malloca.o `test -f 'malloca.c' || 
echo '../../../gnulib/lib/'`malloca.c
../../../gnulib/lib/malloca.c:42:56: error: macro "static_assert" requires 2 
arguments, but only 1 given
 static_assert (2 * sa_alignment_max - 1 <= (small_t) -1);
../../../gnulib/lib/malloca.c:42:1: warning: data definition has no type or 
storage class
 static_assert (2 * sa_alignment_max - 1 <= (small_t) -1);
../../../gnulib/lib/malloca.c:42:1: warning: type defaults to ‘int’ in 
declaration of ‘static_assert’ [-Wimplicit-int]
gmake[4]: *** [Makefile:2521: libgnu_a-malloca.o] Error 1

This is the same problem as found in a GNU sed pretest [1]. It needs to be
fixed in Gnulib.


[1] https://lists.gnu.org/archive/html/sed-devel/2022-10/msg00004.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]