[pacman-dev] [PATCH v3 4/4] Add -Wassign-enum to WARNING_CFLAGS
ivy.foster at gmail.com
ivy.foster at gmail.com
Wed Oct 12 20:13:34 UTC 2016
From: Ivy Foster <ivy.foster at gmail.com>
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index f6b87e5..2c0a350 100644
--- a/configure.ac
+++ b/configure.ac
@@ -434,6 +434,7 @@ fi
AC_MSG_CHECKING(for excessive compiler warning flags)
if test "x$warningflags" = "xyes" ; then
AC_MSG_RESULT(yes)
+ CFLAGS_ADD([-Wassign-enum], [WARNING_CFLAGS])
CFLAGS_ADD([-Wcast-align], [WARNING_CFLAGS])
CFLAGS_ADD([-Wclobbered], [WARNING_CFLAGS])
CFLAGS_ADD([-Wempty-body], [WARNING_CFLAGS])
--
2.10.0
More information about the pacman-dev
mailing list