GNU bug report logs - #48303
28.0.50; Build of master fails on MSYS2 MINGW64 environment

Previous Next

Package: emacs;

Reported by: Yasuhiro Kimura <yasu <at> utahime.org>

Date: Sat, 8 May 2021 22:36:02 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 48303-done <at> debbugs.gnu.org (full text, mbox):

From: Yasuhiro Kimura <yasu <at> utahime.org>
To: eliz <at> gnu.org
Cc: 48303-done <at> debbugs.gnu.org
Subject: Re: bug#48303: 28.0.50; Build of master fails on MSYS2 MINGW64
 environment
Date: Sun, 09 May 2021 20:53:08 +0900 (JST)
From: Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#48303: 28.0.50; Build of master fails on MSYS2 MINGW64 environment
Date: Sun, 09 May 2021 11:01:35 +0300

>> Date: Sun, 09 May 2021 07:35:09 +0900 (JST)
>> From: Yasuhiro Kimura <yasu <at> utahime.org>
>> 
>> In file included from w32image.c:32:
>> w32common.h:45:3: error: expected identifier before numeric constant
>>    45 |   OS_NT
>>       |   ^~~~~
>> make[1]: *** [Makefile:385: w32image.o] Error 1
>> make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/master/emacs/src'
>> make: *** [Makefile:425: src] Error 2
> 
> That's because w32 API headers now invade on our enumeration.  Fixed
> on the emacs-27 branch, soon to be merged to master.

Thank for information. I cherry-picked 4c3abb3dd1 of emacs-27 to
af529f777c of master and confirmed build completes successfully. But
after cherry-picking one 'OS_9X' is still left at line 7658 of
src/w32term.c. Right now it is commented out with '#if 0 ... #endif'.
But to make sure it should also be changed to 'OS_SUBTYPE_9X'.




This bug report was last modified 4 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.