[FFmpeg-devel] [PATCH] build system: remove -wcast-qual

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Apr 19 17:48:30 CEST 2012


On 18/04/2012 6:25 PM, Michael Niedermayer wrote:
> 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.
> 
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---

I have no objections.

- Derek


More information about the ffmpeg-devel mailing list