[systemd-devel] [PATCH] configure: turn off -Wlogical-not-parentheses
Shawn Landden
shawn at churchofgit.com
Mon Feb 16 14:02:17 PST 2015
Introduced in gcc-5
These errors are really annoying. I can get behind clarification of nested ifs,
but this is overkill.
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 97a29d6..e646db7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,6 +187,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Wno-unused-parameter \
-Wno-missing-field-initializers \
-Wno-unused-result \
+ -Wno-logical-not-parentheses \
-Werror=overflow \
-Wdate-time \
-Wnested-externs \
--
2.2.1.209.g41e5f3a
More information about the systemd-devel
mailing list