bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation error in readline/input.c using MinGW


From: Chet Ramey
Subject: Re: Compilation error in readline/input.c using MinGW
Date: Tue, 31 Dec 2024 12:04:00 -0500
User-agent: Mozilla Thunderbird

On 12/29/24 8:07 AM, Eli Zaretskii wrote:
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.

Readline-8.3-beta provides that stub implementation of alarm(3).


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".

The current version solves this by providing a stub version of alarm(3)
that does nothing, so you can use the functions but they don't have any
effect.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]