sed-devel
[Top][All Lists]
Advanced

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

Re: sed-4.8.39-23ea on Solaris 11.4


From: Bruno Haible
Subject: Re: sed-4.8.39-23ea on Solaris 11.4
Date: Sun, 23 Oct 2022 16:49:09 +0200

I wrote:
> On Solaris 11.4, the compilation of sed-4.8.39-23ea fails:
> 
>   CC       lib/libsed_a-localeinfo.o
> ../lib/localeinfo.c:33:39: error: macro "static_assert" requires 2 arguments, 
> but only 1 given
>  static_assert (MB_LEN_MAX <= SCHAR_MAX);
>                                        ^
> ../lib/localeinfo.c:33:1: warning: data definition has no type or storage 
> class
>  static_assert (MB_LEN_MAX <= SCHAR_MAX);
>  ^~~~~~~~~~~~~
> ../lib/localeinfo.c:33:1: warning: type defaults to 'int' in declaration of 
> 'static_assert' [-Wimplicit-int]
> ../lib/localeinfo.c:125:38: error: macro "static_assert" requires 2 
> arguments, but only 1 given
>                 <= CASE_FOLDED_BUFSIZE);
>                                       ^
> ../lib/localeinfo.c:124:1: warning: data definition has no type or storage 
> class
>  static_assert (1 + 1 + sizeof lonesome_lower / sizeof *lonesome_lower
>  ^~~~~~~~~~~~~
> ../lib/localeinfo.c:124:1: warning: type defaults to 'int' in declaration of 
> 'static_assert' [-Wimplicit-int]
> gmake[2]: *** [Makefile:3590: lib/libsed_a-localeinfo.o] Error 1

This is now fixed in Gnulib.

Please update to the newest Gnulib.

Bruno






reply via email to

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