Subject: bug#69888: closed (Re: bug#69888: 30.0.50; Cygw32 build break)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 19 Mar 2024 13:44:02 +0000

Your bug report

#69888: 30.0.50; Cygw32 build break

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
69888: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69888
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#69888: 30.0.50; Cygw32 build break
From: Kazuhiro Ito <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked]
Date: Tue, 19 Mar 2024 22:42:28 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

> > Cygw32 build fails on  master
> 
> Sorry about that.  I attempted to fix this now, please try again.

Thank you for the fix.  I confirmed the problem was resolved, so
closing the issue.

-- 
Kazuhiro Ito

Subject: 30.0.50; Cygw32 build break
From: Kazuhiro Ito <[email-masked]>
To: [email-masked]
Date: Tue, 19 Mar 2024 08:34:08 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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