[FFmpeg-cvslog] r11690 - trunk/libavcodec/h263.c

Måns Rullgård mans
Thu Jan 31 19:52:20 CET 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> On Wed, Jan 30, 2008 at 09:32:35PM -0800, Mike Melanson wrote:
>> Rich Felker wrote:
>> >> Maybe thread-local storage? :)
>> > 
>> > Umm, the whole point was about valid C. There is no such thing in the
>> > C language and even if there were, its performance is MUCH worse than
>> > normal variables. Also it does not solve the reentrancy problem; for
>> > example, using a decoder from a signal handler would not be safe.
>> 
>> Yeah, I know. I just wanted to see your head explode. :) I hope there's 
>> some reasonable solution for making this warning go away so we can raise 
>> the S/N ratio on our stderr.
>
> Theres a simple solution,
> have a list of harmless warnings and filter the output of gcc through that
>
> That would also help alot with aes.c ...
>
> And it shouldnt be hard to implement it, a mere
> gcc | egrep -v `cat harmless_warnings` instead of gcc should do
>
> for aes.c
> aes.c:[0-9]*: warning: passing argument [1234] of '(addkey|crypt|init_multbl2|subshift|mix)' from incompatible pointer type
>
> would remove all but 2 warnings

This approach has the severe drawback that it blindly hides any new
warnings matching that pattern.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list