[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation error in readline/input.c using MinGW
From: |
Eli Zaretskii |
Subject: |
Compilation error in readline/input.c using MinGW |
Date: |
Sun, 29 Dec 2024 15:07:53 +0200 |
Hi,
In this message several months ago:
https://lists.gnu.org/archive/html/bug-readline/2024-07/msg00006.html
I reported a problem compiling Readline 8.2 with MinGW, due to the
lack of the 'alarm' function. I have now built the GDB-16.0.90
pretest, which includes Readline 8.2 with the solution suggested by
Tom Tromey, see
https://lists.gnu.org/archive/html/bug-readline/2024-11/msg00007.html
However, that solution doesn't work with mingw.org's MinGW (it doesn't
support __USE_MINGW_ALARM), so I still need a trivial implementation
for 'alarm' to compile input.c. In
https://lists.gnu.org/archive/html/bug-readline/2024-11/msg00008.html
you say that "I have reports that alarm() doesn't work on mingw at
all, so the current version doesn't try to support timeouts on mingw".
Could you perhaps tell how does the current Readline code solve this
problem? I looked at the Readline Git repository, and I still see
there that the code which calls 'alarm' gets compiled with MinGW. Am
I looking at the wrong branch, perhaps?
Thanks.
- Compilation error in readline/input.c using MinGW,
Eli Zaretskii <=