[Top][All Lists]

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

Re: Problem compiling Readline 7.0 with MinGW

From: Chet Ramey
Subject: Re: Problem compiling Readline 7.0 with MinGW
Date: Thu, 19 Dec 2019 11:26:25 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.3.0

On 12/19/19 9:56 AM, Eli Zaretskii wrote:

As part of building the GDB 9.0.90 pretest with mingw.org's MinGW on
MS-Windows, I've built the copy of Readline 7.0 which is part of the
GDB distribution, and found a compilation problem:
These problems happen because readline/posixstat.h uses preprocessor
macros like S_IWOTH and S_IXOTH, which are not defined on MinGW
headers.  The posixstat.h file assumes that if S_IRXWU is defined, so
are the rest of the macros, but MinGW defines only the "user" mode
bits and leaves the "group" and "other" bits undefined.  I propose
below a patch that fixes that.

Thanks for the report and patch.


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

reply via email to

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