[FFmpeg-devel] [PATCH] build system: remove -wcast-qual
michaelni at gmx.at
Thu Apr 19 00:25:59 CEST 2012
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>
configure | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index a70f3fc..f80a8bf 100755
@@ -3333,7 +3333,6 @@ check_cflags -Wdisabled-optimization
More information about the ffmpeg-devel