Re: wget1.25.0 build error on mingw32

"Darshit Shah" <[email protected]> Mon, 11 Nov 2024 16:41:34 +0100
Newsgroups gmane.comp.web.wget.general
Message-ID <[email protected]>
Hi,

I don't have a full Windows system to test the build on, and it seems to be building fine
on our gitlab CI instances with mingw. Could you please look at those builds to see
if it helps you fix the build issue?

On Mon, Nov 11, 2024, at 02:14, G-Ey3dr wrote:
> 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