From: Ken Raeburn Date: Fri, 22 May 2009 17:22:07 +0000 (+0000) Subject: Make Sun cc error out on unknown attributes X-Git-Tag: krb5-1.8-alpha1~461 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5455f77a4587c26d2b1c4afe7fcddce7a63dad07;p=krb5.git Make Sun cc error out on unknown attributes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22365 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 3dcc298af..10182ec5f 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -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