Paul Eggert wrote:
> > In a gnulib testdir, there are 446 warnings of this type (log attached).
> 
> I believe I fixed all those warnings now, by installing the attached.

Please make sure that a testdir of all of Gnulib still builds:
  $ ./gnulib-tool --create-testdir --dir=../testdir-all --with-c++-tests 
--without-privileged-tests --single-configure `./all-modules`
  $ cd ../testdir-all
  $ ./configure
  $ make
  $ make check

The GitLab CI, that happened to run 20 minutes after you sent the mail
and that uses gcc-8.3.0 (Debian 10), runs into this compilation error:


gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. 
-I..  -DGNULIB_STRICT_CHECKING=1  -fvisibility=hidden -g -O2 -c -o sha3.o sha3.c
In file included from sha3.h:26,
                 from sha3.c:22:
u64.h:49:33: error: initializer element is not constant
 # define u64hilo(hi, lo) ((u64) {((u64) {(hi)} << 32) + (lo)})
                                 ^
u64.h:50:26: note: in expansion of macro 'u64hilo'
 # define u64init(hi, lo) u64hilo (hi, lo)
                          ^~~~~~~
sha3.c:38:3: note: in expansion of macro 'u64init'
   u64init (0x00000000, 0x00000001), u64init (0x00000000, 0x00008082),
   ^~~~~~~
u64.h:49:33: note: (near initialization for 'rc')
 # define u64hilo(hi, lo) ((u64) {((u64) {(hi)} << 32) + (lo)})
                                 ^
u64.h:50:26: note: in expansion of macro 'u64hilo'
 # define u64init(hi, lo) u64hilo (hi, lo)
                          ^~~~~~~
sha3.c:38:3: note: in expansion of macro 'u64init'
   u64init (0x00000000, 0x00000001), u64init (0x00000000, 0x00008082),
   ^~~~~~~


Maybe there are more such errors, I don't know. At this point, I am just
reporting the CI's result.

Bruno




Reply via email to