[gobject-introspection/warn-flags] build: enable -Wstrict-prototypes



commit 17e21aa431805f015abed71ab8adbf499c5091e7
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sun Jul 29 16:18:11 2018 +0200

    build: enable -Wstrict-prototypes

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 9850aef4..7689faed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ AX_APPEND_COMPILE_FLAGS([-Wno-switch-enum])
 # FIXME: Fix the warnings and remove the flags
 AX_APPEND_COMPILE_FLAGS([-Wno-redundant-decls -Wno-switch-default -Wno-deprecated-declarations 
-Wno-type-limits])
 AX_APPEND_COMPILE_FLAGS([-Wno-duplicated-branches -Wno-implicit-fallthrough])
-AX_APPEND_COMPILE_FLAGS([-Wno-old-style-definition -Wno-strict-prototypes])
+AX_APPEND_COMPILE_FLAGS([-Wno-old-style-definition])
 
 WARN_CFLAGS_PYTHON="$WARN_CFLAGS"
 AX_APPEND_COMPILE_FLAGS([-Wno-discarded-qualifiers], [WARN_CFLAGS_PYTHON])


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