Make Sun cc error out on unknown attributes
authorKen Raeburn <raeburn@mit.edu>
Fri, 22 May 2009 17:22:07 +0000 (17:22 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 22 May 2009 17:22:07 +0000 (17:22 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22365 dc483132-0cff-0310-8789-dd5450dbe970

src/aclocal.m4

index 3dcc298af7470654c4f1e944a940605eee33b5d4..10182ec5f9d72966f1e29010da365c5fc6ac3488 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,E_NO_IMPLICIT_DECL_ALLOWED"
+    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,E_ATTRIBUTE_PARAM_UNDEFINED"
     WARN_CXXFLAGS="-errtags=yes +w +w2 -xport64"
   fi
 fi