[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation errors using Gnulib's time.h on MinGW

From: Eli Zaretskii
Subject: Re: Compilation errors using Gnulib's time.h on MinGW
Date: Sat, 12 May 2018 12:26:46 +0300

> From: Bruno Haible <address@hidden>
> Cc: Tim Rühsen <address@hidden>
> Date: Sat, 12 May 2018 10:44:54 +0200
> Hi Eli,
> > The problem described below was found when building the latest pretest
> > of wget2 with mingw.org's MinGW system headers and libraries.
> Oh, there are still people who use the (old) mingw.org system?

It is "old" only in the sense that it was the first one on the block.
It is still being maintained, albeit slower than mingw64.

> Hmm. mingw.org points me to this source:
> <time.h>   
> https://sourceforge.net/p/mingw/mingw-org-wsl/ci/21762bb4a1bd0c88c38eead03f59e8d994349e83/tree/include/time.h
> which also does not fit your description: it doesn't include <sys/types.h>.

This is the wrong version.  The latest development is here, AFAIU:


and it does include sys/types.h.

The build whose problems I described used MinGW 5.0.1, I believe its
sources are on the 5.0-active branch.

> Please can you attach
>   - a copy of the mingw <time.h>,
>   - a copy of the mingw <sys/types.h>,
>   - the result of preprocessing utimens.c with "-E"?

Will do, thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]