Hello!

When compiling some code that uses _set_doserrno
<https://learn.microsoft.com/it-it/cpp/c-runtime-library/reference/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 compiling with CLang though, I believe because it
uses the UCRT. Anyway, it seems that _set_doserrno() is available also in
MSVCRT

Thanks,
Luca

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

Reply via email to