From 5455f77a4587c26d2b1c4afe7fcddce7a63dad07 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 22 May 2009 17:22:07 +0000 Subject: [PATCH] Make Sun cc error out on unknown attributes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22365 dc483132-0cff-0310-8789-dd5450dbe970 --- src/aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2