[SCM] libav/experimental: 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.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:13:24 UTC 2013


The following commit has been merged in the experimental branch:
commit 440e3b2f7f39487f2bc2c12f91126e1bc33d6954
Author: Diego Biurrun <diego at biurrun.de>
Date:   Mon Aug 2 17:09:55 2010 +0000

    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

diff --git a/configure b/configure
index 2996f4a..f546954 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list