From 095da07753035a2b80654553e1cad92d1dee1481 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Thu, 6 Oct 2022 01:03:18 -0700 Subject: [PATCH] Remove -pedantic from configure -w compile options. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index fbaf253..545664a 100755 --- a/configure +++ b/configure @@ -205,9 +205,9 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then fi if test "$warn" -eq 1; then if test "$zconst" -eq 1; then - CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -pedantic -DZLIB_CONST" + CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -DZLIB_CONST" else - CFLAGS="${CFLAGS} -Wall -Wextra -pedantic" + CFLAGS="${CFLAGS} -Wall -Wextra" fi fi if test $sanitize -eq 1; then