For Sun CC, create one errwarn arg with commas instead of multiple
authorKen Raeburn <raeburn@mit.edu>
Mon, 9 Feb 2009 15:57:58 +0000 (15:57 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 9 Feb 2009 15:57:58 +0000 (15:57 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21913 dc483132-0cff-0310-8789-dd5450dbe970

src/aclocal.m4

index 4f1c9d6e2f154b3bd28d2070b836f902f8180e9f..ac6fe92bc13751dfac7c9cd71f20bf82bfc9b338 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 -errwarn=E_BAD_PTR_INT_COMB_ARG -errwarn=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"
     WARN_CXXFLAGS="-errtags=yes +w +w2 -xport64"
   fi
 fi