[FFmpeg-devel] [PATCH] configure: enable warnings for shadowed variables

Timo Rothenpieler timo at rothenpieler.org
Sun Sep 8 15:39:35 EEST 2024


On 08.09.2024 10:15, Andreas Rheinhardt wrote:
> Timo Rothenpieler:
>> These can easily lead to incredibly confusing errors, and should
>> practically never happen.
>> I'd have loved to make this a -Werror even, but sadly there is way too
>> many instances in the codebase right now that first needs to be weeded
>> out.
> 
> IMO these instances would need to be weeded out before this is enabled
> even as a warning.

There is almost 1000 of them without enabling much of any dependencies.
So I think that's next to impossible.


More information about the ffmpeg-devel mailing list