> The first test I debugged showed that it appears that time_t is 32-bits,
> even though I expected it to be 64-bit due to _mingw.h having:
> #if defined (_WIN32) && !defined (_WIN64) && !defined 
> (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT)
> #ifndef _USE_32BIT_TIME_T
> #define _USE_32BIT_TIME_T
> #endif
> #endif
>
> However, some investigation shows this define is being defined despite
> using _UCRT.  Perhaps this define is too soon, before corecrt.h is
> included to define _UCRT?

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.


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

Reply via email to