[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo 7.1.1 fails to compile with gcc 14 mingw toolchain
From: |
Eli Zaretskii |
Subject: |
Re: texinfo 7.1.1 fails to compile with gcc 14 mingw toolchain |
Date: |
Tue, 10 Sep 2024 18:50:35 +0300 |
> From: Gavin Smith <gavinsmith0123@gmail.com>
> Date: Tue, 10 Sep 2024 16:29:43 +0100
> Cc: help-texinfo@gnu.org
>
> On Tue, Sep 10, 2024 at 07:00:15PM +0530, Biswapriyo Nath wrote:
> > 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.
>
> Yes, this code appears never actually to have been tested on the platform
> this code was for.
That's not true. My MinGW port of Texinfo includes a fully functional
Info reader. It's simply that Patris made changes in that area
recently, and since then I didn't have time to build a port and fix
this, that's all.