[FFmpeg-cvslog] r11839 - trunk/configure
Måns Rullgård
mans
Sun Feb 3 23:38:12 CET 2008
michael <subversion at mplayerhq.hu> writes:
> Author: michael
> Date: Sun Feb 3 23:31:25 2008
> New Revision: 11839
>
> Log:
> 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
>
> Modified:
> trunk/configure
>
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure (original)
> +++ trunk/configure Sun Feb 3 23:31:25 2008
> @@ -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
I'm pretty sure I've seen such warnings in the past even without this
flag. Have the gcc defaults changed?
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list