Re: [Mingw-w64-public] Undefined reference to _set_doserrno w/ msvcrt

2023-01-19 Thread Martin Storsjö
On Thu, 19 Jan 2023, LIU Hao wrote: Back in 2017, commit 1035bed24e833ea5eb487c78f4f350ea48f31e8b updated msvcrt.def.in and changed _set_controlfp _set_doserrno _set_errno to F_ARM_ANY(_set_controlfp) F_ARM_ANY(_set_doserrno) F_ARM_ANY(_set_errno) so libmsvcrt no longer has them

Re: [Mingw-w64-public] Undefined reference to _set_doserrno w/ msvcrt

2023-01-19 Thread LIU Hao
在 2023-01-19 22:07, Luca Bacci 写道: That doesn't happen when compiling with CLang though, I believe because it uses the UCRT. Anyway, it seems that _set_doserrno() is available also in MSVCRT Back in 2017, commit 1035bed24e833ea5eb487c78f4f350ea48f31e8b updated msvcrt.def.in and changed _

[Mingw-w64-public] Undefined reference to _set_doserrno w/ msvcrt

2023-01-19 Thread Luca Bacci
Hello! When compiling some code that uses _set_doserrno , I get a few linking errors: mintty screen dump D:\glib-mingw-dbg/../glib/glib/gstdio.c:366: undefined reference to `_set_doserrno' That doesn't happen when