On 2/2/22 01:00, Jacek Caban wrote:
On 2/1/22 16:25, Martin Storsjö wrote:
On Tue, 1 Feb 2022, Jacek Caban wrote:
On 2/1/22 13:57, Paul Gofman wrote:
Not sure though if that is good enough though, the prior understanding was that these sort of fixes are waiting for mingw .seh support.
It's not just SEH support that's missing in mingw (in fact, GCC mingw already supports SEH on x86_64 and llvm-mingw on all targets),
Just a minor clarification here - the above statement is true for x86_64 and aarch64; clang uses SEH on those architectures in both MSVC and mingw mode.
For i386, clang does use the MSVC exception handling mechanism in MSVC mode, but in mingw mode, it uses dwarf instead (and can use sjlj as an alternative).
Thanks for clarification. I thought there was a way to force SEH on i386 in mingw mode.
Perhaps you mean the ReactOS one?
I can't find it now, but I recall some discussions and Firefox trying to use it with their clang mingw builds (without much success). I must remember it wrong.
Thanks,
Jacek