[FFmpeg-devel] How to handle compiler warnings
Reimar Döffinger
Reimar.Doeffinger
Tue Jan 29 12:18:07 CET 2008
Hello,
On Tue, Jan 29, 2008 at 11:45:15AM +0100, Diego Biurrun wrote:
> The topic has come up again, it's time to discuss the subject. I
> propose to try to avoid compiler warnings as much as possible in order
> to
>
> - have cleaner code,
> - have important warnings not be drowned out,
> - make FFmpeg a programming textbook.
>
> This does not include warning fixes that slow things down or obfuscate
> the code, but if in doubt I personally would err on the side of fixing
> the warning.
I am against hasty actions to fix things though, and disabling a
particular warning should also be considered an option (I think we
already disable some? And at least ICC is extremely noisy with some
really irrelevant warnings IMO - assuming we even care about warnings of
non-gcc).
More information about the ffmpeg-devel
mailing list