wget1.25.0 build error on mingw32

G-Ey3dr <[email protected]> Mon, 11 Nov 2024 10:14:17 +0900
Newsgroups gmane.comp.web.wget.general
Message-ID <CAC58pxdxC=Z_dQXyJMSPKp--uX7zjE1OtiZLLcZptDfN20783g@mail.gmail.com>
Hello,

getting error to build wget 1.25.0 on msys2.
(msys2, mingw32, windows10)


C:/mingw32/include/time.h:274:22: error: 'daylight' redeclared as different
kind of symbol
  274 |   _CRTIMP extern int daylight __MINGW_ATTRIB_DEPRECATED_UCRT;
      |                      ^~~~~~~~
In file included from access.c:17:
../src/config.h:2788:20: note: previous declaration of 'daylight' with type
'int *(void)'
 2788 | #define __daylight daylight
      |                    ^~~~~~~~


Best regards,
Reiji