From: Greg Hudson Date: Wed, 4 Nov 2009 20:16:13 +0000 (+0000) Subject: Remove cast-qual from the gcc warnings set; it is too common for us to X-Git-Tag: krb5-1.8-alpha1~211 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2538c840ce5d05dd382c88538b152bf781cde72;p=krb5.git Remove cast-qual from the gcc warnings set; it is too common for us to have to explicitly override const in order to implement strchr-like functions or place pointers into read-only krb5_data objects. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23130 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/aclocal.m4 b/src/aclocal.m4 index efe530d4c..77ad1660f 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -551,7 +551,7 @@ if test "$withval" = yes; then AC_DEFINE(CONFIG_SMALL,1,[Define to reduce code size even if it means more cpu usage]) fi # -Wno-long-long, if needed, for k5-platform.h without inttypes.h etc. -extra_gcc_warn_opts="-Wall -Wcast-qual -Wcast-align -Wshadow" +extra_gcc_warn_opts="-Wall -Wcast-align -Wshadow" # -Wmissing-prototypes if test "$GCC" = yes ; then # Putting this here means we get -Os after -O2, which works.