krb5 commit: Don't warn or error on variadic macros

Greg Hudson ghudson at MIT.EDU
Sat May 25 14:44:20 EDT 2013


https://github.com/krb5/krb5/commit/d211001ba17fddfb952beb00118dc5c7e598355e
commit d211001ba17fddfb952beb00118dc5c7e598355e
Author: Greg Hudson <ghudson at mit.edu>
Date:   Sat May 25 14:35:41 2013 -0400

    Don't warn or error on variadic macros
    
    Our portability assumptions now allow the use of variadic macros, so
    don't warn or error on them.

 src/aclocal.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/aclocal.m4 b/src/aclocal.m4
index fb02956..2ec02c2 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -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)


More information about the cvs-krb5 mailing list