On Mon, 19 Jul 2021, Jeremy Drake via Mingw-w64-public wrote: > I am working on debugging time-related test failures in perl, when built > with i686 clang against mingw-w64 configured for ucrt. > https://github.com/msys2/MINGW-packages/issues/9178 > > 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?
Any thoughts on this? Maybe this needs to be moved further down the file? Or would that be too late for something else? I am concerned this might be an "ABI-breaking" situation for the experimental 'clang32' environment in MSYS2, so don't want to continue expanding the packages built there until it is figured out if we need to rebuild existing packages for this. _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
