I am trying to compile texinfo 7.1.1 with gcc 14 mingw toolchain and got the following compiler error.
pcterm.c: In function 'pc_initialize_terminal':
pcterm.c:1297:37: error: assignment to 'int (*)(void)' from
incompatible pointer type 'void (*)(void)'
[-Wincompatible-pointer-types]
1297 | terminal_prep_terminal_hook = pc_prep_terminal;
| ^
Could anyone fix the compiler error in texinfo repository?
Thank you.
