From f49299967b08d7b85035c47332c2ba388a43042b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 01:31:49 +0000 Subject: [PATCH] Warn about casts which remove const. Feel free to flame me if you disagree that such code is wrong. Originally committed as revision 11699 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 617729543a..a17bc8445e 100755 --- a/configure +++ b/configure @@ -1784,6 +1784,7 @@ check_cflags -Wdisabled-optimization check_cflags -Wpointer-arith check_cflags -Wredundant-decls check_cflags -Wno-pointer-sign +check_cflags -Wcast-qual enabled extra_warnings && check_cflags -Winline # add some linker flags