emacs-devel
[Top][All Lists]
Advanced

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

Re: MinGW build broken with O_CLOEXEC undeclared


From: Paul Eggert
Subject: Re: MinGW build broken with O_CLOEXEC undeclared
Date: Sun, 8 Mar 2020 01:05:55 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 3/8/20 12:53 AM, martin rudalics wrote:
Compiling master is currently broken on my Windows XP (MinGW gcc 4.8.1) as below

../../lib/futimens.c:31:1: warning: no previous prototype for 'futimens' [-Wmissing-prototypes]
  futimens (int fd, struct timespec const times[2])

Yes, I assume this is a consequence of the patch for Bug#39773 being installed.
The MinGW port will need to make sure that futimens and utimensat work, presumably by breaking apart fdutimens (which is no longer needed).

../../lib/open.c:127:49: error: 'O_CLOEXEC' undeclared (first use in this function)

Did the MinGW port formerly compile open.c? If so, why is O_CLOEXEC undeclared now when it was declared formerly? If not, why is the MinGW port compiling open.c now?



reply via email to

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