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

Michael Niedermayer michaelni at gmx.at
Thu Apr 19 19:56:39 CEST 2012


On Thu, Apr 19, 2012 at 12:25:59AM +0200, 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>

applied

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120419/8e883fb2/attachment.asc>


More information about the ffmpeg-devel mailing list