From: Andre Noll Date: Sun, 29 Dec 2013 14:53:15 +0000 (+0000) Subject: Add -Wdeclaration-after-statement. X-Git-Tag: v0.5.2~6^2~16 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=cf517575ef0e501c963964ba4fd62aadaf795af8;ds=sidebyside Add -Wdeclaration-after-statement. We don't have (and don't want to have) declarations after statements. This change helps to keep it this way. --- diff --git a/Makefile.real b/Makefile.real index 2973637e..d6ffe0c4 100644 --- a/Makefile.real +++ b/Makefile.real @@ -86,6 +86,7 @@ DEBUG_CPPFLAGS += -Wredundant-decls DEBUG_CPPFLAGS += -Wall -Wno-sign-compare -Wno-unknown-pragmas DEBUG_CPPFLAGS += -Wformat-security DEBUG_CPPFLAGS += -Wmissing-format-attribute +DEBUG_CPPFLAGS += -Wdeclaration-after-statement ifeq ($(uname_s),Linux) CPPFLAGS += -fdata-sections -ffunction-sections