Hello,
It is a bit strange if it only happens to me so it could be something
with my setup. A lot of tests in t/ fail right now, and all the tests
in tests, when using XS.
Errors are like
ignore_and_comments.texi:4: warning: @c should only appear at the beginning of
a line
and also some undefined values
Use of uninitialized value $name in substitution (s///) at
../../tp/Texinfo/Report.pm line 378
Everything is as expected with the pure perl parser.
When compiling the XS modules, there are some warnings, I attach the
stderr from make in XS.
--
Pat
parsetexi/api.c: In function ‘element_to_perl_hash’:
parsetexi/api.c:429:27: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
429 | int value = (int) f;
| ^
parsetexi/input.c:16: warning: "_GNU_SOURCE" redefined
16 | #define _GNU_SOURCE
|
<command-line>: note: this is the location of the previous definition
parsetexi/macro.c:16: warning: "_GNU_SOURCE" redefined
16 | #define _GNU_SOURCE
|
<command-line>: note: this is the location of the previous definition
parsetexi/handle_commands.c: In function ‘handle_line_command’:
parsetexi/handle_commands.c:574:29: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
574 | level = (int) k->value + 1;
| ^
parsetexi/extra.c: In function ‘add_extra_integer’:
parsetexi/extra.c:151:26: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
151 | add_extra_key (e, key, (ELEMENT *) value, extra_integer);
| ^