[FFmpeg-cvslog] r11699 - trunk/configure

Rich Felker dalias
Fri Feb 1 10:42:26 CET 2008


On Fri, Feb 01, 2008 at 09:21:43AM +0000, M?ns Rullg?rd wrote:
> michael <subversion at mplayerhq.hu> writes:
> 
> > Author: michael
> > Date: Fri Feb  1 02:31:49 2008
> > New Revision: 11699
> >
> > Log:
> > Warn about casts which remove const.
> > Feel free to flame me if you disagree that such code is wrong.
> >
> > Modified:
> >    trunk/configure
> >
> > Modified: trunk/configure
> > ==============================================================================
> > --- trunk/configure	(original)
> > +++ trunk/configure	Fri Feb  1 02:31:49 2008
> > @@ -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
> 
> Isn't this already enabled by -Wall?  I agree the warning should be
> enabled, of course.

I think not; normally, explicit casts disable all warnings about
types.

Rich




More information about the ffmpeg-cvslog mailing list