GNU bug report logs -
#48303
28.0.50; Build of master fails on MSYS2 MINGW64 environment
Previous Next
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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 09 May 2021 11:01:35 +0300
with message-id <83lf8o8heo.fsf <at> gnu.org>
and subject line Re: bug#48303: 28.0.50; Build of master fails on MSYS2 MINGW64 environment
has caused the debbugs.gnu.org bug report #48303,
regarding 28.0.50; Build of master fails on MSYS2 MINGW64 environment
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
48303: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48303
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Environment:
* 64bit Windows 20H2
* MSYS2 MINGW64 environment
** mingw-w64-x86_64-gcc 10.3.0-2
** mingw-w64-x86_64-giflib 5.2.1-3
** mingw-w64-x86_64-gnutls 3.7.0-2
** mingw-w64-x86_64-libjpeg-turbo 2.0.6-1
** mingw-w64-x86_64-libpng 1.6.37-4
** mingw-w64-x86_64-librsvg 2.50.3-1
** mingw-w64-x86_64-libtiff 4.2.0-3
** mingw-w64-x86_64-libxml2 2.9.10-8
** mingw-w64-x86_64-xpm-nox 4.2.0-5
** mingw-w64-x86_64-zlib 1.2.11-9
* bb8b8d717f of master
Build Steps:
1. ./autogen.sh
2. ./configure
3. make
Result:
CC w32reg.o
CC w32font.o
CC w32term.o
CC w32xfns.o
CC w32select.o
CC w32uniscribe.o
CC w32cygwinx.o
CC w32.o
w32.c: In function '_sys_read_ahead':
w32.c:8853:10: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]
8853 | if (rc == sizeof (char))
| ~~~^~~~~~~~~~~~~~~~
CC w32console.o
CC w32heap.o
CC w32inevt.o
CC w32proc.o
CC w32image.o
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
(MINGW64)yasu <at> rolling[1071]%
[Message part 3 (message/rfc822, inline)]
> 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.
Thanks.
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.