diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-19 02:46:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-19 02:49:41 +0300 |
commit | c2c1322b230dc0f564397ac68615640f1083ee56 (patch) | |
tree | 9cbdf777c0636e16963f368cb9d9fc48f094ff13 /configure | |
parent | 5b74faa8afd04771af7acb918072ea71a3db475f (diff) | |
download | hercules-c2c1322b230dc0f564397ac68615640f1083ee56.tar.gz hercules-c2c1322b230dc0f564397ac68615640f1083ee56.tar.bz2 hercules-c2c1322b230dc0f564397ac68615640f1083ee56.tar.xz hercules-c2c1322b230dc0f564397ac68615640f1083ee56.zip |
Fix some cast discards 'const' qualifier from pointer target type warnings.
Add -Wcast-qual into configure comment.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |