For Sun CC, also make implicit function declarations into errors
authorKen Raeburn <raeburn@mit.edu>
Mon, 9 Feb 2009 16:15:51 +0000 (16:15 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 9 Feb 2009 16:15:51 +0000 (16:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21916 dc483132-0cff-0310-8789-dd5450dbe970

src/aclocal.m4

index ac6fe92bc13751dfac7c9cd71f20bf82bfc9b338..2d818a362d815fe40634ab245f0ba3f973bd7b44 100644 (file)
@@ -664,7 +664,7 @@ else
     # works, but it also means that declaration-in-code warnings won't
     # be issued.
     # -v -fd -errwarn=E_DECLARATION_IN_CODE ...
-    WARN_CFLAGS="-errtags=yes -errwarn=E_BAD_PTR_INT_COMBINATION,E_BAD_PTR_INT_COMB_ARG,E_PTR_TO_VOID_IN_ARITHMETIC"
+    WARN_CFLAGS="-errtags=yes -errwarn=E_BAD_PTR_INT_COMBINATION,E_BAD_PTR_INT_COMB_ARG,E_PTR_TO_VOID_IN_ARITHMETIC,E_NO_IMPLICIT_DECL_ALLOWED"
     WARN_CXXFLAGS="-errtags=yes +w +w2 -xport64"
   fi
 fi