On Thu, 22 Sep 2022, Alvin Wong via Mingw-w64-public wrote:

Thanks! Do you also need to add the prototype of __fastfail to intrin.h?

Hmm, apparently we do that for __debugbreak, although I'm not entirely sure why that's needed here, since it's implemented in _mingw.h. I guess I could add it there for consistency though - but I more see this as something that can cause potential mismatches rather than help... (Also intrin.h does include other headers, which end up including _mingw.h in the end anyway.)

Also, there is a TODO comment in winnt.h about __fastfail, which I guess should be made obsolete by this patch, is this right?

Yeah I think so. I'll amend the patch locally to remove that bit.

// Martin



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

Reply via email to