[systemd-devel] [PATCH] Do not warn on declaration-after-statement
misc at zarb.org
misc at zarb.org
Fri Jan 17 09:25:36 PST 2014
From: Michael Scherer <misc at zarb.org>
There is currently around 20 instances of the warning shown when compiling
systemd on Fedora 20, and no one seems to correct them. As this is a valid
C code for C99 and gcc support C99 since 3.0 ( ie more than 10 years ), it
may not be worth showing this warning.
---
configure.ac | 1 -
1 file changed, 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 939ba6d..3a21a77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,7 +127,6 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Wold-style-definition \
-Wpointer-arith \
-Winit-self \
- -Wdeclaration-after-statement \
-Wfloat-equal \
-Wsuggest-attribute=noreturn \
-Wmissing-prototypes \
--
1.8.4.2
More information about the systemd-devel
mailing list