aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 01:31:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 01:31:49 +0000
commitf49299967b08d7b85035c47332c2ba388a43042b (patch)
treeb45b76054930df2083f04c9e877c1544386f2c28
parent2331e31c233b1b9ce6d626827342ffd70039c619 (diff)
downloadffmpeg-f49299967b08d7b85035c47332c2ba388a43042b.tar.gz
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
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
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