Today's CI reports a compilation error on Cygwin:

gcc -DHAVE_CONFIG_H -I. -I../../../tta/C -I..  -I../../../tta/C/parsetexi 
-I../../../tta/C/convert -I../../../tta/C/main 
-I../../../tta/C/structuring_transfo -I../../../tta/C 
-DDATADIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" 
-I../../../tta/gnulib/lib -I../gnulib/lib -DEMBED_PERL -Wall 
-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE -ggdb -O2 -pipe -Wall 
-Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong 
--param=ssp-buffer-size=4 
-fdebug-prefix-map=/mnt/share/cygpkgs/perl/perl.x86/build=/usr/src/debug/perl-5.32.1-2
 
-fdebug-prefix-map=/mnt/share/cygpkgs/perl/perl.x86/src/perl-5.32.1=/usr/src/debug/perl-5.32.1-2
 -fwrapv -fno-strict-aliasing  -MT ctexi2any-texi2any.o -MD -MP -MF 
.deps/ctexi2any-texi2any.Tpo -c -o ctexi2any-texi2any.o `test -f 'texi2any.c' 
|| echo '../../../tta/C/'`texi2any.c
../../../tta/C/texi2any.c:88:11: warning: ISO C99 requires whitespace after the 
macro name
   88 | #  define PATH_SEP>     ":"
      |           ^~~~~~~~
../../../tta/C/texi2any.c: In function 'add_config_paths':
../../../tta/C/texi2any.c:88:19: error: expected expression before '>' token
   88 | #  define PATH_SEP>     ":"
      |                   ^
../../../tta/C/texi2any.c:198:33: note: in expansion of macro 'PATH_SEP'
  198 |       char *dir = strtok (text, PATH_SEP);
      |                                 ^~~~~~~~
../../../tta/C/texi2any.c:88:19: error: expected expression before '>' token
   88 | #  define PATH_SEP>     ":"
      |                   ^
../../../tta/C/texi2any.c:206:31: note: in expansion of macro 'PATH_SEP'
  206 |           dir = strtok (NULL, PATH_SEP);
      |                               ^~~~~~~~
../../../tta/C/texi2any.c: In function 'push_include_directory':
../../../tta/C/texi2any.c:88:19: error: expected expression before '>' token
   88 | #  define PATH_SEP>     ":"
      |                   ^
../../../tta/C/texi2any.c:414:29: note: in expansion of macro 'PATH_SEP'
  414 |   char *dir = strtok (text, PATH_SEP);
      |                             ^~~~~~~~
../../../tta/C/texi2any.c:88:19: error: expected expression before '>' token
   88 | #  define PATH_SEP>     ":"
      |                   ^
../../../tta/C/texi2any.c:422:27: note: in expansion of macro 'PATH_SEP'
  422 |       dir = strtok (NULL, PATH_SEP);
      |                           ^~~~~~~~
make[5]: *** [Makefile:4178: ctexi2any-texi2any.o] Error 1

It looks like a consequence of commit 83eb31dff566d22e27740b157fbb06cc782cf98e
(typos in line 88 and 90).

Bruno




  • comp... Bruno Haible via Bug reports for the GNU Texinfo documentation system
    • ... Patrice Dumas
    • ... Patrice Dumas

Reply via email to