It was pretty easy, thanks to Ghabry.
Quote
I was avoiding the ms crt mess because the vc libraries break backward compatibility with old versions of windows.
rant:
It looks like MS is trying fix their shit on Win10 using ucrt which *might* be useful once *everyone* migrates to win10.
MinGW compiled stuff links directly to mscrt.dll which microsoft says not to do.
rant:
It looks like MS is trying fix their shit on Win10 using ucrt which *might* be useful once *everyone* migrates to win10.
MinGW compiled stuff links directly to mscrt.dll which microsoft says not to do.
Yep, but crt is necessary evil to write clean code. No STL = no life.
Quote
... Today I learned, mingw seems to declare printf with "C++" linkage to prevent gcc from replacing it with its own intrinsics
/facepalm
/facepalm
Classical production kludge. What version of gcc/mingw did you use?