On 7/12/22, Ozkan Sezer <seze...@gmail.com> wrote: [...] > My toolchain is a SEH one, and -fno-asynchronous-unwind-tables inhibits > defining of the __SEH__ macro apparently. v7.x seems to improve on the > matter, ie. the following three patches' backport _should_ do the trick, > the last two seems to be the key: > https://sourceforge.net/p/mingw-w64/mingw-w64/ci/02390fa9c1dd6d3870fa5f5f1b0cf702f1267362/ > https://sourceforge.net/p/mingw-w64/mingw-w64/ci/436ad4b83035937125e8e596893269ff4f1fe662/ > https://sourceforge.net/p/mingw-w64/mingw-w64/ci/844cb490ab2cc32ac3df5914700564b2e40739d8/ > > Is the attached patch against v5.x correct? (haven't tested yet..)
With the patch applied to v5.x branch and crt rebuilt, the game engine rebuilt with -fno-asynchronous-unwind-tables in the CFLAGS against the newly built crt and setjmp.h seems to behave as it is supposed to when it hits longjmp. -- O.S. _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public