]> git.sesse.net Git - ffmpeg/commitdiff
build: Move -Wcast-qual to the extra_warnings
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 26 Nov 2015 16:15:09 +0000 (17:15 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 2 Dec 2015 22:49:10 +0000 (23:49 +0100)
It amounts to about 1/2 of the warnings generated and does not help
spotting anything useful.

configure

index 16ad102ff4242a9607f05014ebb0e91f52c74956..6ec7586f828b404464f5b47d0e0b1a68c72c83f5 100755 (executable)
--- a/configure
+++ b/configure
@@ -4649,13 +4649,13 @@ check_cflags -Wall
 check_cflags -Wdisabled-optimization
 check_cflags -Wpointer-arith
 check_cflags -Wredundant-decls
-check_cflags -Wcast-qual
 check_cflags -Wwrite-strings
 check_cflags -Wtype-limits
 check_cflags -Wundef
 check_cflags -Wmissing-prototypes
 check_cflags -Wstrict-prototypes
 enabled extra_warnings && check_cflags -Winline
+enabled extra_warnings && check_cflags -Wcast-qual
 
 check_disable_warning(){
     warning_flag=-W${1#-Wno-}