Commit f4929996 authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent 2331e31c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment