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.in | |
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.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
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" |