[FFmpeg-cvslog] build: Move -Wcast-qual to the extra_warnings

Luca Barbato git at videolan.org
Mon Dec 7 16:01:52 CET 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Thu Nov 26 17:15:09 2015 +0100| [cb49bb10ca7fcff2e382d9d989232b1a7f28e7da] | committer: Luca Barbato

build: Move -Wcast-qual to the extra_warnings

It amounts to about 1/2 of the warnings generated and does not help
spotting anything useful.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb49bb10ca7fcff2e382d9d989232b1a7f28e7da
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 16ad102..6ec7586 100755
--- 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-}



More information about the ffmpeg-cvslog mailing list