summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-03 22:31:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-03 22:31:25 +0000
commit652a5bf69dfcc651c0f1e0d1ce30afc2d2253075 (patch)
tree79c425f00da3e8d089a83571c189c34b56f411e7 /configure
parentf522310b6d118723b1cf16959d04a5954fb76509 (diff)
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 Originally committed as revision 11839 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 8e7bb242e2..f7199793fa 100755
--- a/configure
+++ b/configure
@@ -1786,6 +1786,7 @@ check_cflags -Wredundant-decls
check_cflags -Wno-pointer-sign
check_cflags -Wcast-qual
check_cflags -Wwrite-strings
+check_cflags -Wtype-limits
enabled extra_warnings && check_cflags -Winline
# add some linker flags