From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Windows mingw64 and cygwin builds broken
Date: Thu, 12 Nov 2015 20:06:51 +0000 [thread overview]
Message-ID: <867flnrnhg.fsf@gmail.com> (raw)
Hi,
Changes in commit 9d43941569fc broke the Windows builds.
1) Mingw64 (64bit, msys2 hosted)
The mingw64 failures appear to be caused by using the
NOTIFYICONDATAW_V3_SIZE macro from the mingw64 shellapi.h header,
which depends on the build-time definition of NTDDI_VERSION.
--[msys2 mingw64 64bit]-----------------------------------------------
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
from ../../src/w32gui.h:21,
from ../../src/w32term.h:21,
from ../../src/w32fns.c:35:
../../src/w32fns.c: In function 'add_tray_notification':
../../src/w32fns.c:8904:16: error: 'NOTIFYICONDATAW {aka struct _NOTIFYICONDATAW}' has no member named 'hBalloonIcon'
nidw.cbSize = NOTIFYICONDATAW_V3_SIZE;
^
Makefile:364: recipe for target 'w32fns.o' failed
--[msys2 mingw64 64bit]-----------------------------------------------
2) Cygwin w32 build (64bit)
The cygwin w32 build breaks because it builds w32fns.c but uses
different filename manipulation routines:
--[cygwin-w32]--------------------------------------------------------
In file included from /usr/include/w32api/minwindef.h:163:0,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /cygdrive/c/emacs/git/emacs/master/src/w32gui.h:21,
from /cygdrive/c/emacs/git/emacs/master/src/w32term.h:21,
from /cygdrive/c/emacs/git/emacs/master/src/w32fns.c:35:
/cygdrive/c/emacs/git/emacs/master/src/w32fns.c: In function ‘add_tray_notification’:
/cygdrive/c/emacs/git/emacs/master/src/w32fns.c:8904:16: error: ‘NOTIFYICONDATAW’ has no member named ‘hBalloonIcon’
nidw.cbSize = NOTIFYICONDATAW_V3_SIZE;
^
/cygdrive/c/emacs/git/emacs/master/src/w32fns.c:8921:8: warning: implicit declaration of function ‘filename_to_utf16’ [-Wimplicit-function-declaration]
if (filename_to_utf16 (icon, icon_w) != 0)
^
/cygdrive/c/emacs/git/emacs/master/src/w32fns.c:8933:8: warning: implicit declaration of function ‘filename_to_ansi’ [-Wimplicit-function-declaration]
if (filename_to_ansi (icon, icon_a) != 0)
^
/cygdrive/c/emacs/git/emacs/master/src/w32fns.c:8960:4: warning: implicit declaration of function ‘pMultiByteToWideChar’ [-Wimplicit-function-declaration]
tiplen = pMultiByteToWideChar (CP_UTF8, MB_ERR_INVALID_CHARS,
^
Makefile:364: recipe for target 'w32fns.o' failed
--[cygwin-w32]--------------------------------------------------------
next reply other threads:[~2015-11-12 20:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-12 20:06 Andy Moreton [this message]
2015-11-12 20:42 ` Windows mingw64 and cygwin builds broken Eli Zaretskii
2015-11-12 22:01 ` Andy Moreton
2015-11-12 22:12 ` Andy Moreton
2015-11-13 2:11 ` Andy Moreton
2015-11-13 9:11 ` Eli Zaretskii
2015-11-13 9:58 ` Andy Moreton
2015-11-13 10:10 ` Eli Zaretskii
2015-11-13 11:23 ` Andy Moreton
2015-11-13 10:13 ` Michael Albinus
2015-11-13 9:11 ` Eli Zaretskii
2015-11-13 10:18 ` Andy Moreton
2015-11-13 13:25 ` Eli Zaretskii
2015-11-13 13:39 ` Eli Zaretskii
2015-11-13 14:18 ` Andy Moreton
2015-11-13 14:44 ` Eli Zaretskii
2015-11-13 22:30 ` Andy Moreton
2015-11-14 8:15 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=867flnrnhg.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.