[Crosstoolchain-logs] [device-tree-compiler] 120/198: Makefile: enable -Wshadow by default

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:07:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.4.x
in repository device-tree-compiler.

commit c231d94e0f620bc25c76415e09f7dea939064bd8
Author: Florian Fainelli <f.fainelli at gmail.com>
Date:   Fri Jan 24 17:19:13 2014 -0800

    Makefile: enable -Wshadow by default
    
    Now that all -Wshadow build warnings/errors are fixed, turn on -Wshadow
    by default to make sure we would catch new potential shadow warnings.
    
    Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 70abf05..afc0ce0 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ CONFIG_LOCALVERSION =
 
 CPPFLAGS = -I libfdt -I .
 WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
-	-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls
+	-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
 CFLAGS = -g -Os -fPIC -Werror $(WARNINGS)
 
 BISON = bison

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list