projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f08b3d6
)
Add -Wdeclaration-after-statement.
author
Andre Noll
<maan@systemlinux.org>
Sun, 29 Dec 2013 14:53:15 +0000
(14:53 +0000)
committer
Andre 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
patch
|
blob
|
history
diff --git
a/Makefile.real
b/Makefile.real
index 2973637e517692bad60d1773e8feee5feb1c48f2..d6ffe0c424a2adf2a623d8b2376f327932142911 100644
(file)
--- 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