From 2c25427496322f420d9acc58500f2855c9e04a2a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 22 Jan 2022 19:02:16 +0900 Subject: [PATCH] GCC provides -Wdiv-by-zero --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 09b9bd6eb0..4699d9b7c1 100644 --- a/configure.ac +++ b/configure.ac @@ -641,7 +641,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"], ]) for wflag in \ -Werror=deprecated-declarations \ - -Werror=division-by-zero \ + -Werror=division-by-zero -Werror=div-by-zero \ -Werror=duplicated-cond \ -Werror=implicit-function-declaration \ -Werror=implicit-int \