While clang does match MSVC with regards to aggregate returns, when run in MSVC mode, it matches GCC when run in mingw mode - and the same behaviour extends to arm/aarch64 too.
Thus, this workaround needs to be enabled on all architectures, not only on x86. Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-headers/crt/_mingw_mac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/crt/_mingw_mac.h b/mingw-w64-headers/crt/_mingw_mac.h index ee44fc30c..b36d4a290 100644 --- a/mingw-w64-headers/crt/_mingw_mac.h +++ b/mingw-w64-headers/crt/_mingw_mac.h @@ -355,7 +355,7 @@ /* Enable workaround for ABI incompatibility on affected platforms */ #ifndef WIDL_EXPLICIT_AGGREGATE_RETURNS -#if defined(__GNUC__) && defined(__cplusplus) && (defined(__x86_64__) || defined(__i386__)) +#if defined(__GNUC__) && defined(__cplusplus) #define WIDL_EXPLICIT_AGGREGATE_RETURNS #endif #endif -- 2.25.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
