Package: emacs;
Reported by: Przemyslaw Kryger <pkryger <at> gmail.com>
Date: Tue, 18 Nov 2025 11:07:02 UTC
Severity: normal
Found in version 31.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
To reply to this bug, email your comments to 79855 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
eliz <at> gnu.org, bug-gnu-emacs <at> gnu.org:bug#79855; Package emacs.
(Tue, 18 Nov 2025 11:07:02 GMT) Full text and rfc822 format available.Przemyslaw Kryger <pkryger <at> gmail.com>:eliz <at> gnu.org, bug-gnu-emacs <at> gnu.org.
(Tue, 18 Nov 2025 11:07:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Przemyslaw Kryger <pkryger <at> gmail.com> To: bug-gnu-emacs <at> gnu.org Subject: 31.0.50; Build of master branch fails on Windows (MSYS2/MinGW) Date: Tue, 18 Nov 2025 11:06:13 +0000
When building Emacs from master branch (revision:
f81fc116136d28b87e8ea5edb2092b89a238104c) compilation fails with:
CCLD cmdproxy.exe
cmdproxy.c:51:12: warning: '_snprintf' redeclared without dllimport
attribute: previous dllimport ignored [-Wattributes]
51 | extern int _snprintf (char *buffer, size_t count, const char
*format, ...);
| ^~~~~~~~~
cmdproxy.c:57:9: warning: 'stdout' redefined
57 | #define stdout GetStdHandle (STD_OUTPUT_HANDLE)
| ^~~~~~
In file included from ../src/conf_post.h:403,
from ../src/config.h:3833,
from
cmdproxy.c:31:
D:/a/_temp/msys64/mingw64/include/stdio.h:125:9: note: this is the
location of the previous definition
125 | #define stdout (__acrt_iob_func(1))
| ^~~~~~
cmdproxy.c:58:9: warning: 'stderr' redefined
58 | #define stderr GetStdHandle (STD_ERROR_HANDLE)
| ^~~~~~
D:/a/_temp/msys64/mingw64/include/stdio.h:126:9:
note: this is the location of the previous definition
126 | #define stderr (__acrt_iob_func(2))
| ^~~~~~
../src/conf_post.h:433:20: error: conflicting types for
'gl_consolesafe_vfprintf'; have 'int(void *, const char *, char *)'
433 | # define vfprintf gl_consolesafe_vfprintf
| ^~~~~~~~~~~~~~~~~~~~~~~
cmdproxy.c:65:5: note: in expansion of macro 'vfprintf'
65 | int vfprintf (HANDLE, const char *, va_list);
| ^~~~~~~~
../src/conf_post.h:423:12: note: previous
declaration of 'gl_consolesafe_vfprintf' with type 'int(FILE *
restrict, const char * restrict, char *)' {aka 'int(struct _iobuf *
restrict, const char * restrict, char *)'}
423 | extern int gl_consolesafe_vfprintf (FILE *restrict fp,
| ^~~~~~~~~~~~~~~~~~~~~~~
../src/conf_post.h:431:19: error: conflicting types for
'gl_consolesafe_fprintf'; have 'int(void *, const char *, ...)'
431 | # define fprintf gl_consolesafe_fprintf
| ^~~~~~~~~~~~~~~~~~~~~~
cmdproxy.c:66:5: note: in expansion of macro 'fprintf'
66 | int fprintf (HANDLE, const char *, ...);
| ^~~~~~~
../src/conf_post.h:416:12: note: previous
declaration of 'gl_consolesafe_fprintf' with type 'int(FILE *
restrict, const char * restrict, ...)' {aka 'int(struct _iobuf *
restrict, const char * restrict, ...)'}
416 | extern int gl_consolesafe_fprintf (FILE *restrict fp,
| ^~~~~~~~~~~~~~~~~~~~~~
../src/conf_post.h:433:20: error: conflicting types for
'gl_consolesafe_vfprintf'; have 'int(void *, const char *, char *)'
433 | # define vfprintf gl_consolesafe_vfprintf
| ^~~~~~~~~~~~~~~~~~~~~~~
cmdproxy.c:71:1: note: in expansion of macro 'vfprintf'
71 | vfprintf (HANDLE hnd, const char * msg,
va_list args)
| ^~~~~~~~
../src/conf_post.h:423:12: note: previous declaration of
'gl_consolesafe_vfprintf' with type 'int(FILE * restrict, const char
* restrict, char *)' {aka 'int(struct _iobuf * restrict, const char
* restrict, char *)'}
423 | extern int gl_consolesafe_vfprintf (FILE *restrict fp,
| ^~~~~~~~~~~~~~~~~~~~~~~
../src/conf_post.h:431:19: error: conflicting types for
'gl_consolesafe_fprintf'; have 'int(void *, const char *, ...)'
431 | # define fprintf gl_consolesafe_fprintf
| ^~~~~~~~~~~~~~~~~~~~~~
cmdproxy.c:81:1: note: in expansion of macro 'fprintf'
81 | fprintf (HANDLE hnd, const char * msg, ...)
| ^~~~~~~
../src/conf_post.h:416:12: note: previous
declaration of 'gl_consolesafe_fprintf' with type 'int(FILE *
restrict, const char * restrict, ...)' {aka 'int(struct _iobuf *
restrict, const char * restrict, ...)'}
416 | extern int gl_consolesafe_fprintf (FILE *restrict fp,
| ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:232: cmdproxy.exe] Error 1
You can find full log here:
https://github.com/pkryger/setup-emacs-dev/actions/runs/19459876196/job/55681345276
# gcc --version
gcc.exe (Rev8, Built by MSYS2 project) 15.2.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
I have found that reverting 2ab07033ea7c92c7f2f0bbc465d6729e1f2dcfbc
(Workaround for MSVCRT stdio on MS-Windows for CJK locales) makes the
build to
pass.
In GNU Emacs 31.0.50 (build 1, x86_64-w64-mingw32) of 2025-11-18 built
on runnervmmu5y5
Repository revision: fa0031575415b4a848604b878fd70f5b6e88b98e
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.26100
System Description: Microsoft Windows Server 2025 Datacenter (v10.0.2009.26100.6905)
Configured using:
'configure --prefix=/mingw64 --without-native-compilation'
Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG LIBXML2 MODULES NOTIFY W32NOTIFY
PDUMPER PNG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP ZLIB
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: cp1252
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
minibuffer-nonselected-mode: t
minibuffer-regexp-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug lisp-mnt reveal message mailcap
yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg
rfc6068 epg-config gnus-util text-property-search time-date mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader smtpmail rx
auth-source eieio eieio-core icons password-cache json subr-x map
byte-opt sendmail mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils cl-macs gv cl-extra help-mode use-package-ensure
cl-seq use-package-core cl-loaddefs cl-lib bytecomp byte-compile
term/w32console rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
touch-screen dos-w32 ls-lisp term/w32-nt disp-table term/w32-win w32-win
w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads w32notify w32 multi-tty move-toolbar make-network-process
tty-child-frames emacs)
Memory information:
((conses 16 55000 20809) (symbols 48 7474 0) (strings 32 18226 1955)
(string-bytes 1 491733) (vectors 16 9619)
(vector-slots 8 90784 11228) (floats 8 29 602) (intervals 56 324 6)
(buffers 984 12))
bug-gnu-emacs <at> gnu.org:bug#79855; Package emacs.
(Tue, 18 Nov 2025 14:23:02 GMT) Full text and rfc822 format available.Message #8 received at 79855 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Przemyslaw Kryger <pkryger <at> gmail.com> Cc: 79855 <at> debbugs.gnu.org Subject: Re: bug#79855: 31.0.50; Build of master branch fails on Windows (MSYS2/MinGW) Date: Tue, 18 Nov 2025 16:22:39 +0200
> Cc: Eli Zaretskii <eliz <at> gnu.org>
> From: Przemyslaw Kryger <pkryger <at> gmail.com>
> Date: Tue, 18 Nov 2025 11:06:13 +0000
>
>
> When building Emacs from master branch (revision:
> f81fc116136d28b87e8ea5edb2092b89a238104c) compilation fails with:
>
> CCLD cmdproxy.exe
> cmdproxy.c:51:12: warning: '_snprintf' redeclared without dllimport
> attribute: previous dllimport ignored [-Wattributes]
> 51 | extern int _snprintf (char *buffer, size_t count, const char
> *format, ...);
> | ^~~~~~~~~
> cmdproxy.c:57:9: warning: 'stdout' redefined
> 57 | #define stdout GetStdHandle (STD_OUTPUT_HANDLE)
> | ^~~~~~
> In file included from ../src/conf_post.h:403,
> from ../src/config.h:3833,
> from
> cmdproxy.c:31:
> D:/a/_temp/msys64/mingw64/include/stdio.h:125:9: note: this is the
> location of the previous definition
> 125 | #define stdout (__acrt_iob_func(1))
> | ^~~~~~
> cmdproxy.c:58:9: warning: 'stderr' redefined
> 58 | #define stderr GetStdHandle (STD_ERROR_HANDLE)
> | ^~~~~~
> D:/a/_temp/msys64/mingw64/include/stdio.h:126:9:
> note: this is the location of the previous definition
> 126 | #define stderr (__acrt_iob_func(2))
> | ^~~~~~
> ../src/conf_post.h:433:20: error: conflicting types for
> 'gl_consolesafe_vfprintf'; have 'int(void *, const char *, char *)'
> 433 | # define vfprintf gl_consolesafe_vfprintf
> | ^~~~~~~~~~~~~~~~~~~~~~~
> cmdproxy.c:65:5: note: in expansion of macro 'vfprintf'
> 65 | int vfprintf (HANDLE, const char *, va_list);
> | ^~~~~~~~
> ../src/conf_post.h:423:12: note: previous
> declaration of 'gl_consolesafe_vfprintf' with type 'int(FILE *
> restrict, const char * restrict, char *)' {aka 'int(struct _iobuf *
> restrict, const char * restrict, char *)'}
> 423 | extern int gl_consolesafe_vfprintf (FILE *restrict fp,
> | ^~~~~~~~~~~~~~~~~~~~~~~
> ../src/conf_post.h:431:19: error: conflicting types for
> 'gl_consolesafe_fprintf'; have 'int(void *, const char *, ...)'
> 431 | # define fprintf gl_consolesafe_fprintf
> | ^~~~~~~~~~~~~~~~~~~~~~
> cmdproxy.c:66:5: note: in expansion of macro 'fprintf'
> 66 | int fprintf (HANDLE, const char *, ...);
> | ^~~~~~~
> ../src/conf_post.h:416:12: note: previous
> declaration of 'gl_consolesafe_fprintf' with type 'int(FILE *
> restrict, const char * restrict, ...)' {aka 'int(struct _iobuf *
> restrict, const char * restrict, ...)'}
> 416 | extern int gl_consolesafe_fprintf (FILE *restrict fp,
> | ^~~~~~~~~~~~~~~~~~~~~~
> ../src/conf_post.h:433:20: error: conflicting types for
> 'gl_consolesafe_vfprintf'; have 'int(void *, const char *, char *)'
> 433 | # define vfprintf gl_consolesafe_vfprintf
> | ^~~~~~~~~~~~~~~~~~~~~~~
> cmdproxy.c:71:1: note: in expansion of macro 'vfprintf'
> 71 | vfprintf (HANDLE hnd, const char * msg,
> va_list args)
> | ^~~~~~~~
> ../src/conf_post.h:423:12: note: previous declaration of
> 'gl_consolesafe_vfprintf' with type 'int(FILE * restrict, const char
> * restrict, char *)' {aka 'int(struct _iobuf * restrict, const char
> * restrict, char *)'}
> 423 | extern int gl_consolesafe_vfprintf (FILE *restrict fp,
> | ^~~~~~~~~~~~~~~~~~~~~~~
> ../src/conf_post.h:431:19: error: conflicting types for
> 'gl_consolesafe_fprintf'; have 'int(void *, const char *, ...)'
> 431 | # define fprintf gl_consolesafe_fprintf
> | ^~~~~~~~~~~~~~~~~~~~~~
> cmdproxy.c:81:1: note: in expansion of macro 'fprintf'
> 81 | fprintf (HANDLE hnd, const char * msg, ...)
> | ^~~~~~~
> ../src/conf_post.h:416:12: note: previous
> declaration of 'gl_consolesafe_fprintf' with type 'int(FILE *
> restrict, const char * restrict, ...)' {aka 'int(struct _iobuf *
> restrict, const char * restrict, ...)'}
> 416 | extern int gl_consolesafe_fprintf (FILE *restrict fp,
> | ^~~~~~~~~~~~~~~~~~~~~~
> make[2]: *** [Makefile:232: cmdproxy.exe] Error 1
Thanks, should be fixed now.
bug-gnu-emacs <at> gnu.org:bug#79855; Package emacs.
(Tue, 18 Nov 2025 15:47:03 GMT) Full text and rfc822 format available.Message #11 received at 79855 <at> debbugs.gnu.org (full text, mbox):
From: Przemysław Kryger <pkryger <at> gmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 79855 <at> debbugs.gnu.org Subject: Re: bug#79855: 31.0.50; Build of master branch fails on Windows (MSYS2/MinGW) Date: Tue, 18 Nov 2025 15:46:32 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Cc: Eli Zaretskii <eliz <at> gnu.org>
>> From: Przemyslaw Kryger <pkryger <at> gmail.com>
>> Date: Tue, 18 Nov 2025 11:06:13 +0000
>>
>>
>> When building Emacs from master branch (revision:
>> f81fc116136d28b87e8ea5edb2092b89a238104c) compilation fails with:
>>
>> CCLD cmdproxy.exe
>> cmdproxy.c:51:12: warning: '_snprintf' redeclared without dllimport
>> attribute: previous dllimport ignored [-Wattributes]
>> 51 | extern int _snprintf (char *buffer, size_t count, const char
>> *format, ...);
>> | ^~~~~~~~~
>> cmdproxy.c:57:9: warning: 'stdout' redefined
>> 57 | #define stdout GetStdHandle (STD_OUTPUT_HANDLE)
>> | ^~~~~~
>> In file included from ../src/conf_post.h:403,
>> from ../src/config.h:3833,
>> from
>> cmdproxy.c:31:
>> D:/a/_temp/msys64/mingw64/include/stdio.h:125:9: note: this is the
>> location of the previous definition
>> 125 | #define stdout (__acrt_iob_func(1))
>> | ^~~~~~
>> cmdproxy.c:58:9: warning: 'stderr' redefined
>> 58 | #define stderr GetStdHandle (STD_ERROR_HANDLE)
>> | ^~~~~~
>> D:/a/_temp/msys64/mingw64/include/stdio.h:126:9:
>> note: this is the location of the previous definition
>> 126 | #define stderr (__acrt_iob_func(2))
>> | ^~~~~~
>> ../src/conf_post.h:433:20: error: conflicting types for
>> 'gl_consolesafe_vfprintf'; have 'int(void *, const char *, char *)'
>> 433 | # define vfprintf gl_consolesafe_vfprintf
>> | ^~~~~~~~~~~~~~~~~~~~~~~
>> cmdproxy.c:65:5: note: in expansion of macro 'vfprintf'
>> 65 | int vfprintf (HANDLE, const char *, va_list);
>> | ^~~~~~~~
>> ../src/conf_post.h:423:12: note: previous
>> declaration of 'gl_consolesafe_vfprintf' with type 'int(FILE *
>> restrict, const char * restrict, char *)' {aka 'int(struct _iobuf *
>> restrict, const char * restrict, char *)'}
>> 423 | extern int gl_consolesafe_vfprintf (FILE *restrict fp,
>> | ^~~~~~~~~~~~~~~~~~~~~~~
>> ../src/conf_post.h:431:19: error: conflicting types for
>> 'gl_consolesafe_fprintf'; have 'int(void *, const char *, ...)'
>> 431 | # define fprintf gl_consolesafe_fprintf
>> | ^~~~~~~~~~~~~~~~~~~~~~
>> cmdproxy.c:66:5: note: in expansion of macro 'fprintf'
>> 66 | int fprintf (HANDLE, const char *, ...);
>> | ^~~~~~~
>> ../src/conf_post.h:416:12: note: previous
>> declaration of 'gl_consolesafe_fprintf' with type 'int(FILE *
>> restrict, const char * restrict, ...)' {aka 'int(struct _iobuf *
>> restrict, const char * restrict, ...)'}
>> 416 | extern int gl_consolesafe_fprintf (FILE *restrict fp,
>> | ^~~~~~~~~~~~~~~~~~~~~~
>> ../src/conf_post.h:433:20: error: conflicting types for
>> 'gl_consolesafe_vfprintf'; have 'int(void *, const char *, char *)'
>> 433 | # define vfprintf gl_consolesafe_vfprintf
>> | ^~~~~~~~~~~~~~~~~~~~~~~
>> cmdproxy.c:71:1: note: in expansion of macro 'vfprintf'
>> 71 | vfprintf (HANDLE hnd, const char * msg,
>> va_list args)
>> | ^~~~~~~~
>> ../src/conf_post.h:423:12: note: previous declaration of
>> 'gl_consolesafe_vfprintf' with type 'int(FILE * restrict, const char
>> * restrict, char *)' {aka 'int(struct _iobuf * restrict, const char
>> * restrict, char *)'}
>> 423 | extern int gl_consolesafe_vfprintf (FILE *restrict fp,
>> | ^~~~~~~~~~~~~~~~~~~~~~~
>> ../src/conf_post.h:431:19: error: conflicting types for
>> 'gl_consolesafe_fprintf'; have 'int(void *, const char *, ...)'
>> 431 | # define fprintf gl_consolesafe_fprintf
>> | ^~~~~~~~~~~~~~~~~~~~~~
>> cmdproxy.c:81:1: note: in expansion of macro 'fprintf'
>> 81 | fprintf (HANDLE hnd, const char * msg, ...)
>> | ^~~~~~~
>> ../src/conf_post.h:416:12: note: previous
>> declaration of 'gl_consolesafe_fprintf' with type 'int(FILE *
>> restrict, const char * restrict, ...)' {aka 'int(struct _iobuf *
>> restrict, const char * restrict, ...)'}
>> 416 | extern int gl_consolesafe_fprintf (FILE *restrict fp,
>> | ^~~~~~~~~~~~~~~~~~~~~~
>> make[2]: *** [Makefile:232: cmdproxy.exe] Error 1
>
> Thanks, should be fixed now.
It has been fixed indeed. Thank you for fast reaction. For reference
fix is in 0026445dd6f4fb0dad763a1bead0d23c8d27137e.
Eli Zaretskii <eliz <at> gnu.org>:Przemyslaw Kryger <pkryger <at> gmail.com>:Message #16 received at 79855-done <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Przemysław Kryger <pkryger <at> gmail.com> Cc: 79855-done <at> debbugs.gnu.org Subject: Re: bug#79855: 31.0.50; Build of master branch fails on Windows (MSYS2/MinGW) Date: Tue, 18 Nov 2025 17:57:22 +0200
> From: Przemysław Kryger <pkryger <at> gmail.com>
> Cc: 79855 <at> debbugs.gnu.org
> Date: Tue, 18 Nov 2025 15:46:32 +0000
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> Cc: Eli Zaretskii <eliz <at> gnu.org>
> >> From: Przemyslaw Kryger <pkryger <at> gmail.com>
> >> Date: Tue, 18 Nov 2025 11:06:13 +0000
> >>
> >>
> >> When building Emacs from master branch (revision:
> >> f81fc116136d28b87e8ea5edb2092b89a238104c) compilation fails with:
> >>
> >> CCLD cmdproxy.exe
> >> cmdproxy.c:51:12: warning: '_snprintf' redeclared without dllimport
> >> attribute: previous dllimport ignored [-Wattributes]
> >> 51 | extern int _snprintf (char *buffer, size_t count, const char
> >> *format, ...);
> >> | ^~~~~~~~~
> >> cmdproxy.c:57:9: warning: 'stdout' redefined
> >> 57 | #define stdout GetStdHandle (STD_OUTPUT_HANDLE)
> >> | ^~~~~~
> >> In file included from ../src/conf_post.h:403,
> >> from ../src/config.h:3833,
> >> from
> >> cmdproxy.c:31:
> >> D:/a/_temp/msys64/mingw64/include/stdio.h:125:9: note: this is the
> >> location of the previous definition
> >> 125 | #define stdout (__acrt_iob_func(1))
> >> | ^~~~~~
> >> cmdproxy.c:58:9: warning: 'stderr' redefined
> >> 58 | #define stderr GetStdHandle (STD_ERROR_HANDLE)
> >> | ^~~~~~
> >> D:/a/_temp/msys64/mingw64/include/stdio.h:126:9:
> >> note: this is the location of the previous definition
> >> 126 | #define stderr (__acrt_iob_func(2))
> >> | ^~~~~~
> >> ../src/conf_post.h:433:20: error: conflicting types for
> >> 'gl_consolesafe_vfprintf'; have 'int(void *, const char *, char *)'
> >> 433 | # define vfprintf gl_consolesafe_vfprintf
> >> | ^~~~~~~~~~~~~~~~~~~~~~~
> >> cmdproxy.c:65:5: note: in expansion of macro 'vfprintf'
> >> 65 | int vfprintf (HANDLE, const char *, va_list);
> >> | ^~~~~~~~
> >> ../src/conf_post.h:423:12: note: previous
> >> declaration of 'gl_consolesafe_vfprintf' with type 'int(FILE *
> >> restrict, const char * restrict, char *)' {aka 'int(struct _iobuf *
> >> restrict, const char * restrict, char *)'}
> >> 423 | extern int gl_consolesafe_vfprintf (FILE *restrict fp,
> >> | ^~~~~~~~~~~~~~~~~~~~~~~
> >> ../src/conf_post.h:431:19: error: conflicting types for
> >> 'gl_consolesafe_fprintf'; have 'int(void *, const char *, ...)'
> >> 431 | # define fprintf gl_consolesafe_fprintf
> >> | ^~~~~~~~~~~~~~~~~~~~~~
> >> cmdproxy.c:66:5: note: in expansion of macro 'fprintf'
> >> 66 | int fprintf (HANDLE, const char *, ...);
> >> | ^~~~~~~
> >> ../src/conf_post.h:416:12: note: previous
> >> declaration of 'gl_consolesafe_fprintf' with type 'int(FILE *
> >> restrict, const char * restrict, ...)' {aka 'int(struct _iobuf *
> >> restrict, const char * restrict, ...)'}
> >> 416 | extern int gl_consolesafe_fprintf (FILE *restrict fp,
> >> | ^~~~~~~~~~~~~~~~~~~~~~
> >> ../src/conf_post.h:433:20: error: conflicting types for
> >> 'gl_consolesafe_vfprintf'; have 'int(void *, const char *, char *)'
> >> 433 | # define vfprintf gl_consolesafe_vfprintf
> >> | ^~~~~~~~~~~~~~~~~~~~~~~
> >> cmdproxy.c:71:1: note: in expansion of macro 'vfprintf'
> >> 71 | vfprintf (HANDLE hnd, const char * msg,
> >> va_list args)
> >> | ^~~~~~~~
> >> ../src/conf_post.h:423:12: note: previous declaration of
> >> 'gl_consolesafe_vfprintf' with type 'int(FILE * restrict, const char
> >> * restrict, char *)' {aka 'int(struct _iobuf * restrict, const char
> >> * restrict, char *)'}
> >> 423 | extern int gl_consolesafe_vfprintf (FILE *restrict fp,
> >> | ^~~~~~~~~~~~~~~~~~~~~~~
> >> ../src/conf_post.h:431:19: error: conflicting types for
> >> 'gl_consolesafe_fprintf'; have 'int(void *, const char *, ...)'
> >> 431 | # define fprintf gl_consolesafe_fprintf
> >> | ^~~~~~~~~~~~~~~~~~~~~~
> >> cmdproxy.c:81:1: note: in expansion of macro 'fprintf'
> >> 81 | fprintf (HANDLE hnd, const char * msg, ...)
> >> | ^~~~~~~
> >> ../src/conf_post.h:416:12: note: previous
> >> declaration of 'gl_consolesafe_fprintf' with type 'int(FILE *
> >> restrict, const char * restrict, ...)' {aka 'int(struct _iobuf *
> >> restrict, const char * restrict, ...)'}
> >> 416 | extern int gl_consolesafe_fprintf (FILE *restrict fp,
> >> | ^~~~~~~~~~~~~~~~~~~~~~
> >> make[2]: *** [Makefile:232: cmdproxy.exe] Error 1
> >
> > Thanks, should be fixed now.
>
> It has been fixed indeed. Thank you for fast reaction. For reference
> fix is in 0026445dd6f4fb0dad763a1bead0d23c8d27137e.
Thanks for testing, I'm therefore closing the bug.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.