Subject: bug#78160: Emacs fail to build with GCC 15

From: MAN ONE <[email-masked]>
Date: Wed, 30 Apr 2025 11:02:26 +0000

The second patch produce no compilation error or warnings, emacsclient.exe and emacsclientw.exe also working, I think the second patch does the trick.