[FFmpeg-devel] [PATCH v2] Let clang-FORTIFY build; NFC.

Ronald S. Bultje rsbultje at gmail.com
Wed Aug 31 02:10:50 EEST 2016


On Tue, Aug 30, 2016 at 6:49 PM, George Burgess IV <gbiv at chromium.org>

> ChromeOS is adopting a new FORTIFY implementation tailored for clang. As
> an artifact of how this new FORTIFY is implemented, a handful of
> implicit conversion warnings get turned into errors. This patch fixes
> the implicit conversions in ffmpeg that clang-FORTIFY has an issue with.

Isn't it easier to change your fortify-clang and add a compiler option to
disable this specific error for specific targets? (I don't find the casts
particularly pretty.)


More information about the ffmpeg-devel mailing list