]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Add -Wdeclaration-after-statement.
authorAndre Noll <maan@systemlinux.org>
Sun, 29 Dec 2013 14:53:15 +0000 (14:53 +0000)
committerAndre Noll <maan@systemlinux.org>
Sat, 22 Feb 2014 15:49:30 +0000 (16:49 +0100)
We don't have (and don't want to have) declarations after
statements. This change helps to keep it this way.

Makefile.real

index 2973637e517692bad60d1773e8feee5feb1c48f2..d6ffe0c424a2adf2a623d8b2376f327932142911 100644 (file)
@@ -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