OSDN Git Service

Add -Wno-parentheses to CFLAGS.
authorDiego Biurrun <diego@biurrun.de>
Mon, 2 Aug 2010 17:09:55 +0000 (17:09 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 2 Aug 2010 17:09:55 +0000 (17:09 +0000)
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

index 2996f4a..f546954 100755 (executable)
--- 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