From cf517575ef0e501c963964ba4fd62aadaf795af8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 29 Dec 2013 14:53:15 +0000 Subject: [PATCH] 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. --- Makefile.real | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5