From b2538c840ce5d05dd382c88538b152bf781cde72 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 4 Nov 2009 20:16:13 +0000 Subject: [PATCH] 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 --- src/aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.26.2