]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Don't warn or error on variadic macros
authorGreg Hudson <ghudson@mit.edu>
Sat, 25 May 2013 18:35:41 +0000 (14:35 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sat, 25 May 2013 18:35:41 +0000 (14:35 -0400)
Our portability assumptions now allow the use of variadic macros, so
don't warn or error on them.

src/aclocal.m4

index fb02956b9fa2a57f7c2a7a7b899335add7a5a51c..2ec02c2d7b00611108fb36d0aec1d7fc0a30c27f 100644 (file)
@@ -538,7 +538,7 @@ if test "$GCC" = yes ; then
     #
     # We're currently targeting C89+, not C99, so disallow some
     # constructs.
-    for flag in declaration-after-statement variadic-macros ; do
+    for flag in declaration-after-statement ; do
       TRY_WARN_CC_FLAG(-Werror=$flag)
       if test "$flag_supported" = no; then
         TRY_WARN_CC_FLAG(-W$flag)