[krb5-auth-dialog] Drop -Wstrict-prototypes



commit 61cc98a71b711bad8336a9863ca64a2c6d53875a
Author: Guido Günther <agx sigxcpu org>
Date:   Sat Jun 5 16:21:00 2010 +0200

    Drop -Wstrict-prototypes
    
    since the GTK+ header's issue a warning:
        gtkitemfactory.h:47: warning: function declaration isnâ??t a prototype
    making us overlook real erros.

 acinclude.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/acinclude.m4 b/acinclude.m4
index 3c814fb..3301d70 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -121,7 +121,7 @@ dnl taken from libvirt which was
 dnl taken from gnome-common/macros2/gnome-compiler-flags.m4
 dnl
 dnl We've added:
-dnl   -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls
+dnl   -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Winline -Wredundant-decls
 dnl We've removed
 dnl   CFLAGS="$realsave_CFLAGS"
 dnl   to avoid clobbering user-specified CFLAGS
@@ -153,7 +153,7 @@ AC_DEFUN([KA_COMPILE_WARNINGS],[
     maximum|error)
 	try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
 	try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return"
-	try_compiler_flags="$try_compiler_flags -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare"
+	try_compiler_flags="$try_compiler_flags -Winline -Wredundant-decls -Wno-sign-compare"
 	try_compiler_flags="$try_compiler_flags $common_flags"
 	if test "$enable_compile_warnings" = "error" ; then
 	    try_compiler_flags="$try_compiler_flags -Werror"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]