[FFmpeg-cvslog] r11699 - trunk/configure
Måns Rullgård
mans
Sun Feb 3 01:06:59 CET 2008
Rich Felker <dalias at aerifal.cx> writes:
> 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.
Ah yes. That's quite right.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list