[Ffmpeg-cvslog] r6356 - in trunk/libavcodec: asv1.c dv.c ffv1.c g726.c h263.c huffyuv.c i386/dsputil_mmx.c lcl.c mpegaudiodec.c mpegvideo.c msmpeg4.c png.c raw.c sonic.c svq1.c

Måns Rullgård mru
Thu Sep 28 10:12:35 CEST 2006


Rich Felker <dalias at aerifal.cx> writes:

> On Wed, Sep 27, 2006 at 11:38:28PM +0100, M?ns Rullg?rd wrote:
>> >> >> Log:
>> >> >> add some #ifdef CONFIG_ENCODERS/DECODERS
>> >> >
>> >> > iam against this change not only do i disslike havning these
>> >> > #ifdefs around unused static functions (its gccs job to drop
>> >> > them)
>> >> 
>> >> GCC prints ugly warnings without these.
>> >
>> > so its a gcc bug workaround?
>> 
>> One man's bug is another man's feature, I guess.  I personally don't
>> consider it a bug that gcc warns about unused code.
>
> I consider it a gcc bug.

And I consider you a bug on this mailing list.

> Whenever gcc is generating ugly warnings it probably means you need
> to add some -Wno-* options, not (much uglier than warnings!) hacks
> in the code itself!

I consider warnings about unused code most appropriate.

> Flaming the gcc developers is always fun too...

I know you like flaming.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-cvslog mailing list