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

Anton Khirnov anton at khirnov.net
Mon Sep 9 13:02:19 EEST 2024


Quoting Rémi Denis-Courmont (2024-09-09 09:32:07)
> Hi,
> 
> Le 8 septembre 2024 19:57:38 GMT+03:00, Timo Rothenpieler <timo at rothenpieler.org> a écrit :
> >
> >Well, the reality is, that without printing all these warnings, nobody will ever fix them.
> >Unless someone sits down and spends potentially multiple days if not weeks of work to fix all the current ones.
> 
> >
> >If we print all the warnings instead, it can get fixed gradually.
> 
> I can only agree with Zhao and Andreas here. If you want to turn a warning flag on, you have to eliminate the warnings first.
> 
> Otherwise you're just drowning the existing and typically more serious warnings in a sea of new warnings. The result is obvious: people will just ignore *all* warnigns then, and that's worse.

+1

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list