From c2c1322b230dc0f564397ac68615640f1083ee56 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Feb 2016 02:46:37 +0300 Subject: Fix some cast discards 'const' qualifier from pointer target type warnings. Add -Wcast-qual into configure comment. --- configure.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index c8bc3a864..27eb98243 100644 --- a/configure.in +++ b/configure.in @@ -456,6 +456,8 @@ AC_PATH_PROG(AR, ar) AC_LANG([C]) +# use -Wcast-qual for check wrong casts. It cant be added by default, because some casts must be wrong. + CFLAGS="$CFLAGS -pipe -ffast-math -Wall -Wextra -Wno-sign-compare" CPPFLAGS="$CPPFLAGS -I../common" LDFLAGS="$LDFLAGS" -- cgit v1.2.3-60-g2f50