Hi Johannes,

On 3/3/19 2:48 PM, Johannes Pfau wrote:
When building GCC for msvcrt120, there's a undefined reference to
ctime. It needs to be defined as a wrapper for msvcrt120 as well.
The if condition is slightly complex, but I do not know if I can
modify the if !defined(__CRT__NO_INLINE) || __MSVCRT_VERSION__ >= 0x1400
block instead: This would also change difftime, localtime and so on and
I'm not sure if these should be changed.


I think we should have a single place with inline wrappers for all versions. Even plain msvcrt.dll could use such inline wrapper. I'd suggest to move UCRT variant out of #ifdef f__MSVCRT_VERSION__ instead.


Thanks,

Jacek



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

Reply via email to