From 45ff87405a6f2ee64ec282e6efc6cca229eae893 Mon Sep 17 00:00:00 2001
From: Zack Weinberg <zackw@panix.com>
Date: Wed, 11 Dec 2019 13:27:54 -0500
Subject: [PATCH] Remove -Winline from the list of warnings to use (#95)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
GCC 10 may decline to inline some functions in `alg-yescrypt-opt.c`
and, with `-Winline -Werror`, this breaks the build. This warning
isn’t ever going to expose actual bugs, so let’s just turn it off.
Fixes #95.
---
m4/zw_simple_warnings.m4 | 1 -
1 file changed, 1 deletion(-)
diff --git a/m4/zw_simple_warnings.m4 b/m4/zw_simple_warnings.m4
index cfdf9e9..e45453e 100644
--- a/m4/zw_simple_warnings.m4
+++ b/m4/zw_simple_warnings.m4
@@ -72,7 +72,6 @@ AC_ARG_ENABLE(
-Wformat-overflow=2 dnl
-Wformat-signedness dnl
-Wformat-truncation=1 dnl
- -Winline dnl
-Wlogical-op dnl
-Wmissing-declarations dnl
-Wmissing-prototypes dnl