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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index d558217c6..4da98fca7 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in 8ca4506. +# From configure.in 313c1a4. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69. # @@ -4567,6 +4567,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +# 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-70-g09d2