shithub: sox

Download patch

ref: f88f10a371df2080d5dc0b9be60563791ac01aca
parent: 7da02c9fbf0ed68e61b63a4509a18d6c027c8c7c
author: Mans Rullgard <mans@mansr.com>
date: Thu Aug 27 10:16:49 EDT 2015

build: drop some compiler warning flags

These flags enable warnings that mostly serve to encourage poor
programming practices such as littering the code with casts which
often mask real problems.

--- a/configure.ac
+++ b/configure.ac
@@ -168,12 +168,8 @@
     gccver=`$CC -dumpversion`
     AC_MSG_RESULT($gccver)
 
-    CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic"
+    CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
 
-    AS_VERSION_COMPARE([$gccver], [4.3],
-       [WARN_CFLAGS="-Wconversion"],
-       [WARN_CFLAGS="-Wtraditional-conversion"],
-       [WARN_CFLAGS="-Wtraditional-conversion"])
     dnl Define stricter policy on GNU/Linux, all symbols must be resolved
     case $target in
       *linux* | *solaris*)