Closed victorkemp closed 1 year ago
_set_output_format
this function causes an error in the UCRT64 environment:
https://github.com/msys2/MINGW-packages/issues/15607#issue-1579990450
possible solution:
#ifdef __MSVC
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
_set_output_format
is it needed at all since "This function is obsolete. Beginning in Visual Studio 2015, it is not available in the CRT."?
Maybe #if defined(_WIN32) && !defined(_UCRT)
?
I hope it can be removed entirely. It's just a bodge to fix an old bug in a MS library. There's also an environment variable that does that anyway.
I confirm #if defined(_WIN32) && !defined(_UCRT)
that the build goes 100%, but does ccx it works correctly?:
so it compiles in Mingw on Windows.