mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
build system: remove -wcast-qual
Generating warnings when casting const away leads to tight constraints on the code if one wants to avoid warnings. This is especially true for generic code that is supposed to work with both const and non const. These tight constrains cause people to waste time trying to find a way to write code so it doesnt generate any warning, while people should rather spend their time thinking on how to write fast, clean, maintainable and bug free code. Removing this class of warnings fixes this issue. Approved-by: Nicolas George <nicolas.george@normalesup.org> Approved-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a9cd12ee2a
commit
2ff935f4bb
Loading…
Reference in New Issue
Block a user