On 7/11/24 11:40 AM, Eli Zaretskii wrote:
Hi,I've built Readline 8.2 today on MS-Windows using MinGW, and found the following problems:
Thanks for the report.
. input.c and rlprivate.h use fd_set without the #ifdef guards that
are used elsewhere, where the corresponding functions are
implemented. On Windows, fd_set is only usable with sockets, and
the header file sys/select.h does not exist, so this fails the
compilation.
. there's a syntax error in rl_getc, in a fragment specific to
MinGW: a closing parenthesis is missing
These have been fixed in the readline devel branch for some time, and they're fixed in readline-8.3-alpha.
. one of the flavors of MinGW doesn't have the 'alarm' function in
its headers/libraries (and the functionality doesn't work even in
the flavors which do have it).
Thanks, I'll add the stub for this variant.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
