From: Lennart Poettering Date: Fri, 29 Nov 2013 01:09:58 +0000 (+0100) Subject: Revert "build-sys: avoid warnings from assert_cc" X-Git-Tag: v209~1229 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=03930e48636e86ad84946253ca2bf4f91deeb645;ds=sidebyside Revert "build-sys: avoid warnings from assert_cc" This reverts commit f1a1264d13b31b9f5521f482d9a5a9d78da55efb. We can turn this off with a pragma only on old gcc. Newer gcc doesn't need this, so let's not turn this off for everybody. --- diff --git a/configure.ac b/configure.ac index db9440d73..6995e7840 100644 --- a/configure.ac +++ b/configure.ac @@ -125,6 +125,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ -Wold-style-definition \ -Wpointer-arith \ -Winit-self \ + -Wdeclaration-after-statement \ -Wfloat-equal \ -Wmissing-prototypes \ -Wstrict-prototypes \