On 12/19/19 9:56 AM, Eli Zaretskii wrote:
Hi,
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.
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/