在 2025-11-21 23:35, Martin Storsjö 写道:
diff --git a/mingw-w64-crt/testcases/t_sigv.c b/mingw-w64-crt/testcases/t_sigv.c index 6e4516f00..1b8029eb3 100644 --- a/mingw-w64-crt/testcases/t_sigv.c +++ b/mingw-w64-crt/testcases/t_sigv.c @@ -4,7 +4,7 @@jmp_buf buf; -void catchSigSegV( int sig )+void __attribute__((noreturn)) catchSigSegV( int sig ) {
The attribute declared in this way applies to what it follows; that is, it applies to the return type.When declaring an attribute for a function definition, it should appear in the beginning, after `extern "C"` if any, and before the return type.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
