Commit c22010e5 authored by michael's avatar michael

Warn if a comparison is always true or always false due to the

limited range of the data type.
The only new warning this causes (if i didnt miss one) is:
udp.c:272: warning: comparison of unsigned expression < 0 is always false
which is a real bug


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11839 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4e2298eb
...@@ -1786,6 +1786,7 @@ check_cflags -Wredundant-decls ...@@ -1786,6 +1786,7 @@ check_cflags -Wredundant-decls
check_cflags -Wno-pointer-sign check_cflags -Wno-pointer-sign
check_cflags -Wcast-qual check_cflags -Wcast-qual
check_cflags -Wwrite-strings check_cflags -Wwrite-strings
check_cflags -Wtype-limits
enabled extra_warnings && check_cflags -Winline enabled extra_warnings && check_cflags -Winline
# add some linker flags # 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