From: Robert Pengelly Date: Fri, 21 Aug 2026 01:35:09 +0000 (+0100) Subject: Support __attribute__((ms_abi)) for compatibility but nothing needs to be done as... X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=526883c67992c2ce7344cc9b1d8c22ae9063b0c6;p=scc.git Support __attribute__((ms_abi)) for compatibility but nothing needs to be done as we already use that form --- diff --git a/parse.c b/parse.c index a46fc8b..94a14c1 100644 --- a/parse.c +++ b/parse.c @@ -499,7 +499,7 @@ static void apply_decl_attribute (const char *spelling, int is_gnu) { } - } else if (is_gnu && (attribute_name_is (spelling, "cdecl") || attribute_name_is (spelling, "unused") || attribute_name_is (spelling, "used"))) { + } else if (is_gnu && (attribute_name_is (spelling, "ms_abi") || attribute_name_is (spelling, "cdecl") || attribute_name_is (spelling, "unused") || attribute_name_is (spelling, "used"))) { /* Accepted compatibility attributes. They require no code generation. */ } else { report_line_at (get_filename (), get_line_number (), REPORT_WARNING, tok.report_start, tok.report_caret, "unsupported '%s' attribute '%s' ignored", is_gnu ? "__attribute__" : "__declspec", spelling);