From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
To: 69888@debbugs.gnu.org
Subject: bug#69888: 30.0.50; Cygw32 build break
Date: Tue, 19 Mar 2024 08:34:08 +0900 [thread overview]
Message-ID: <854jd3cdxr.wl--xmue@d1.dion.ne.jp> (raw)
Cygw32 build fails on master
$ make
(snip)
CC w32xfns.o
In file included from ../../../emacs/trunk/src/w32xfns.c:35:
/usr/include/w32api/wtsapi32.h:147:16: error: redeclaration of ‘enum _WTS_VIRTUAL_CLASS’
147 | typedef enum _WTS_VIRTUAL_CLASS {
| ^~~~~~~~~~~~~~~~~~
../../../emacs/trunk/src/w32xfns.c:30:14: note: originally defined here
30 | typedef enum _WTS_VIRTUAL_CLASS {
| ^~~~~~~~~~~~~~~~~~
In file included from ../../../emacs/trunk/src/w32xfns.c:35:
/usr/include/w32api/wtsapi32.h:148:5: error: redeclaration of enumerator ‘WTSVirtualClientData’
148 | WTSVirtualClientData,WTSVirtualFileHandle
| ^~~~~~~~~~~~~~~~~~~~
../../../emacs/trunk/src/w32xfns.c:31:3: note: previous definition of ‘WTSVirtualClientData’ with type ‘enum _WTS_VIRTUAL_CLASS’
31 | WTSVirtualClientData,
| ^~~~~~~~~~~~~~~~~~~~
In file included from ../../../emacs/trunk/src/w32xfns.c:35:
/usr/include/w32api/wtsapi32.h:148:26: error: redeclaration of enumerator ‘WTSVirtualFileHandle’
148 | WTSVirtualClientData,WTSVirtualFileHandle
| ^~~~~~~~~~~~~~~~~~~~
../../../emacs/trunk/src/w32xfns.c:32:3: note: previous definition of ‘WTSVirtualFileHandle’ with type ‘enum _WTS_VIRTUAL_CLASS’
32 | WTSVirtualFileHandle
| ^~~~~~~~~~~~~~~~~~~~
../../../emacs/trunk/src/w32xfns.c: In function ‘drain_message_queue’:
../../../emacs/trunk/src/w32xfns.c:431:13: warning: implicit declaration of function ‘reset_w32_kbdhook_state’ [-Wimplicit-function-declaration]
431 | reset_w32_kbdhook_state ();
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../emacs/trunk/src/w32xfns.c:431:13: warning: nested extern declaration of ‘reset_w32_kbdhook_state’ [-Wnested-externs]
it seems that _WTS_VIRTUAL_CLASS is defines in Cygwin's headaer and
reset_w32_kbdhook_state is not defined on Cygw32 build.
--
Kazuhiro Ito
next reply other threads:[~2024-03-18 23:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-18 23:34 Kazuhiro Ito [this message]
2024-03-19 12:48 ` bug#69888: 30.0.50; Cygw32 build break Eli Zaretskii
2024-03-19 13:42 ` Kazuhiro Ito
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=854jd3cdxr.wl--xmue@d1.dion.ne.jp \
--to=kzhr@d1.dion.ne.jp \
--cc=69888@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).