[gobject-introspection/warn-flags] build: enable -Wsign-compare
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/warn-flags] build: enable -Wsign-compare
- Date: Sun, 29 Jul 2018 14:03:32 +0000 (UTC)
commit e2e5ea855d427980363456e3fdf30809feb8a5ab
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sun Jul 29 16:02:43 2018 +0200
build: enable -Wsign-compare
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 4ed84313..4485e549 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,7 @@ AX_COMPILER_FLAGS(,, [yes])
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 -Wno-sign-compare])
+AX_APPEND_COMPILE_FLAGS([-Wno-duplicated-branches -Wno-implicit-fallthrough])
AX_APPEND_COMPILE_FLAGS([-Wno-old-style-definition -Wno-strict-prototypes])
WARN_CFLAGS_PYTHON="$WARN_CFLAGS"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]