Author: cazfi
Date: Mon Sep  7 20:43:58 2015
New Revision: 29802

URL: http://svn.gna.org/viewcvs/freeciv?rev=29802&view=rev
Log:
Added -WShadow to CFLAGS of the debug builds.

See patch #6173

Modified:
    trunk/m4/debug.m4

Modified: trunk/m4/debug.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/m4/debug.m4?rev=29802&r1=29801&r2=29802&view=diff
==============================================================================
--- trunk/m4/debug.m4   (original)
+++ trunk/m4/debug.m4   Mon Sep  7 20:43:58 2015
@@ -43,7 +43,7 @@
 
   FC_C_FLAGS([-Werror -Wmissing-prototypes -Wmissing-declarations \
               -Wformat -Wformat-security -Wnested-externs \
-              -Wno-tautological-compare],
+              -Wno-tautological-compare -Wshadow],
              [], [EXTRA_DEBUG_CFLAGS])
   if test "x$cxx_works" = "xyes" ; then
     FC_CXX_FLAGS([-Werror -Wmissing-prototypes -Wmissing-declarations \


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to