svn rev #23130: trunk/src/

ghudson@MIT.EDU ghudson at MIT.EDU
Wed Nov 4 15:16:13 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23130
Commit By: ghudson
Log Message:
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.



Changed Files:
U   trunk/src/aclocal.m4
Modified: trunk/src/aclocal.m4
===================================================================
--- trunk/src/aclocal.m4	2009-11-04 18:11:51 UTC (rev 23129)
+++ trunk/src/aclocal.m4	2009-11-04 20:16:13 UTC (rev 23130)
@@ -551,7 +551,7 @@
   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.




More information about the cvs-krb5 mailing list