[PATCH] Drop -pedantic from CFLAGS

Rene Kita <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
Consensus is that it does more harm than good.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 33d483d2..927f0243 100644
--- a/configure.ac
+++ b/configure.ac
@@ -956,7 +956,7 @@ AC_ARG_ENABLE(warnings, AS_HELP_STRING([--disable-warnings],[Turn off compiler w
 fi])
 
 if test $mutt_cv_warnings = yes; then
-  CFLAGS="-Wall -pedantic $CFLAGS"
+  CFLAGS="-Wall $CFLAGS"
 fi
 
 AC_ARG_ENABLE(nfs-fix, AS_HELP_STRING([--enable-nfs-fix],[Work around an NFS with broken attributes caching]),
-- 
2.51.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.