[Mingw-w64-public] Linking error with _set_se_translator

2022-09-13 Thread Biswapriyo Nath
* Sample code (test.cpp): #include #include #include int main() { _set_se_translator(NULL); } * gcc output: undefined reference to `__imp__Z18_set_se_translatorPFvjP19_EXCEPTION_POINTERSE' * clang output: undefined symbol: __declspec(dllimport) _set_se_translator(void (*)(unsigned int, _E

Re: [Mingw-w64-public] invalid O_WRONLY read sets errno=EACCES instead of EBADF

2022-09-13 Thread LIU Hao
在 2022/9/13 14:42, Michel Zou 写道: If I try to run the generated binaries from arch (mingw 10.0.0) on win10 I got the same errno=13, so I dont think it comes from wine. I cross-built an executable and got 13 on Wine 6.0 but 9 on Windows 10. I can send you this executable if you would like.