On AIX 7.3.1, I see a compilation error:

================================================================================
        /opt/freeware/bin/gcc -maix64 -DHAVE_CONFIG_H -I. -I../../../gnulib/lib 
-I../..   -I/home/haible/prefix64/include -Wall -D_THREAD_SAFE  -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-argz.o -MD -MP -MF 
.deps/libgnu_a-argz.Tpo -c -o libgnu_a-argz.o `test -f 'argz.c' || echo 
'../../../gnulib/lib/'`argz.c
In file included from ./stddef.h:80,
                 from ./string.h:55,
                 from ./argz.h:26,
                 from ../../../gnulib/lib/argz.c:21:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include/stddef.h:426:3: error: 
conflicting types for 'max_align_t'
  426 | } max_align_t;
      |   ^~~~~~~~~~~
In file included from ./string.h:55,
                 from ./argz.h:26,
                 from ../../../gnulib/lib/argz.c:21:
./stddef.h:70:14: note: previous declaration of 'max_align_t' was here
   70 | typedef long max_align_t;
      |              ^~~~~~~~~~~
make: 1254-004 The error code from the last command is 1.
================================================================================

This is already fixed by gnulib commit
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=17c85713388407841f5c9978ecb3ccaf34ef76f1
Interestingly, texinfo/tp/Texinfo/XS/gnulib/lib/stddef.in.h has the fix
but texinfo/gnulib/lib/stddef.in.h does not.

I would have expected that you have a policy regarding which gnulib
version to use (maybe the newest one, one week before release?
or one of the stable branches [1]?), and am surprised to see that
two parts of the texinfo git use different policies.

Bruno

[1] https://www.gnu.org/software/gnulib/manual/html_node/Stable-Branches.html




Reply via email to