Author: cazfi
Date: Mon Sep  7 20:44:06 2015
New Revision: 29803

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

See patch #6173

Modified:
    branches/S2_6/m4/debug.m4

Modified: branches/S2_6/m4/debug.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/m4/debug.m4?rev=29803&r1=29802&r2=29803&view=diff
==============================================================================
--- branches/S2_6/m4/debug.m4   (original)
+++ branches/S2_6/m4/debug.m4   Mon Sep  7 20:44:06 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