From 71ae1c35e3ad8479f4cec86fa13f5fb42702139d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 17 Feb 2022 14:22:27 -0500 Subject: [PATCH] build-sys: Drop `-Werror=aggregate-return` This is failing for me as of recently but only when I build without optimization. I don't think we've ever written any code that returned a large structure by value. Let's just drop this one. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 763ffb04..69e03982 100644 --- a/configure.ac +++ b/configure.ac @@ -49,7 +49,7 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\ -Werror=undef \ -Werror=incompatible-pointer-types \ -Werror=misleading-indentation \ - -Werror=missing-include-dirs -Werror=aggregate-return \ + -Werror=missing-include-dirs \ -Wstrict-aliasing=2 \ -Werror=unused-result \ ])])