On Mon, 19 Jul 2021, Jeremy Drake via Mingw-w64-public wrote:

> The next test I debugged was failure of utime.  Apparently it's trying to
> call _utime64, but with the struct with 32-bit time_ts, and getting
> EINVAL.

I was struggling to figure out how utime was aliased to _utime64 instead
of _utime32, while struct utimbuf was still defined with 32-bit time_t...
It seems that clang is defining __NO_INLINE__ built-in,
which is causing _mingw.h to define __CRT__NO_INLINE, which is preventing
the #ifdef _USE_32BIT_TIME_T tests in sys/utime.h from being engaged.



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to