From 440e3b2f7f39487f2bc2c12f91126e1bc33d6954 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 2 Aug 2010 17:09:55 +0000 Subject: [PATCH] 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 --- configure | 1 + 1 file changed, 1 insertion(+) 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