Hey,

after updating gnulib, I see this on all CI pipelines (Debian, Fedora,
Alpine, Arch, ...):

In file included from /usr/include/x86_64-linux-gnu/sys/param.h:28,
                 from ./minmax.h:34,
                 from md2.c:30:
./signal.h:682:13: error: size of array 'verify_NSIG_constraint' is negative
  682 | typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
      |             ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:2261: md2.lo] Error 1


The surrounding code in lib/signal.h is
#if 1
# if !0

#  ifndef GNULIB_defined_signal_blocking
#   define GNULIB_defined_signal_blocking 1
#  endif

/* Maximum signal number + 1.  */
#  ifndef NSIG
#   define NSIG 32
#  endif

/* This code supports only 32 signals.  */
#  if !GNULIB_defined_verify_NSIG_constraint
typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
#   define GNULIB_defined_verify_NSIG_constraint 1
#  endif

# endif


Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to