aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-08-02 17:09:55 +0000
committerDiego Biurrun <diego@biurrun.de>2010-08-02 17:09:55 +0000
commit440e3b2f7f39487f2bc2c12f91126e1bc33d6954 (patch)
tree65ad6c68c2c31eacad077b33eef201ac7e9588d3
parent546017fc7909c085a6f57dbf8f63b28be7293b00 (diff)
downloadffmpeg-440e3b2f7f39487f2bc2c12f91126e1bc33d6954.tar.gz
Add -Wno-parentheses to CFLAGS.
Without this flag -Wall generates warnings that nobody wants to see fixed or worked around. Disabling those warnings is thus the best solution. Originally committed as revision 24666 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 2996f4a743..f546954723 100755
--- a/configure
+++ b/configure
@@ -2797,6 +2797,7 @@ enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
# add some useful compiler flags if supported
check_cflags -Wdeclaration-after-statement
check_cflags -Wall
+check_cflags -Wno-parentheses
check_cflags -Wno-switch
check_cflags -Wdisabled-optimization
check_cflags -Wpointer-arith