On Tue, 7 Mar 2023, LIU Hao wrote:
在 2023/3/7 18:12, Martin Storsjö 写道:
I forgot to a comment to the patch - I'm open for suggestions for a better
name to use for the define we check here. Should we use a user space define
name like this, or one prepended with two underscores (like
__USE_MINGW_ANSI_STDIO)?
For a CRT header such as <setjmp.h>, it's really necessary to have such
'uglified' names.
(This file already checks a define named USE_NO_MINGW_SETJMP_TWO_ARGS -
although I'm not sure if the codepaths used by that actually have been
tested and work in the last decade, on modern architectures.)
Looks like it was designed mainly for x86_64, in
5b99e86d446ae5971be734c1fa76a21c3adb7148?
It was introduced one day earlier in
6ef8b92929cc918dc50fb6802839be61c0cfab7c, but without wording a purpose.
Right, thanks.
In
https://github.com/qemu/qemu/commit/dbd672c87f19949bb62bfb1fb3a97b9729fd7560
I got another wording suggestion - so maybe
__USE_MINGW_SETJMP_WITHOUT_SEH - does that seem reasonable to you?
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public