]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Remove cast-qual from the gcc warnings set; it is too common for us to
authorGreg Hudson <ghudson@mit.edu>
Wed, 4 Nov 2009 20:16:13 +0000 (20:16 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 4 Nov 2009 20:16:13 +0000 (20:16 +0000)
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

index efe530d4c413480169e87bc8743292ea5c0c68cb..77ad1660fd3f0db99c0019da4f9c92d88170c912 100644 (file)
@@ -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.