The following commit has been merged in the master branch:
commit 4b3828ba87359a3a0171a95479834983224b2f73
Author: Guillem Jover <[email protected]>
Date:   Fri Jul 16 17:06:23 2010 +0200

    build: Add -Wshadow to default warnings

diff --git a/m4/dpkg-compiler.m4 b/m4/dpkg-compiler.m4
index f46f0a7..5a0f791 100644
--- a/m4/dpkg-compiler.m4
+++ b/m4/dpkg-compiler.m4
@@ -13,7 +13,7 @@ AC_DEFUN([DPKG_COMPILER_WARNINGS],
 
 WFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers \
         -Wmissing-declarations -Wmissing-format-attribute \
-        -Wvla -Winit-self -Wwrite-strings -Wcast-align"
+        -Wvla -Winit-self -Wwrite-strings -Wcast-align -Wshadow"
 WCFLAGS="-Wdeclaration-after-statement -Wnested-externs -Wbad-function-cast \
         -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition"
 # Temporarily here until #542031 gets fixed in ncurses

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to