Author: cazfi
Date: Fri Oct 30 19:09:21 2015
New Revision: 30319

URL: http://svn.gna.org/viewcvs/freeciv?rev=30319&view=rev
Log:
Added -Wshadow to CXXFLAGS.

See patch #6506

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=30319&r1=30318&r2=30319&view=diff
==============================================================================
--- branches/S2_6/m4/debug.m4   (original)
+++ branches/S2_6/m4/debug.m4   Fri Oct 30 19:09:21 2015
@@ -54,7 +54,7 @@
              [], [EXTRA_DEBUG_CFLAGS])
   if test "x$cxx_works" = "xyes" ; then
     FC_CXX_FLAGS([-Werror -Wmissing-prototypes -Wmissing-declarations \
-                  -Wformat -Wformat-security],
+                  -Wformat -Wformat-security -Wshadow],
                  [], [EXTRA_DEBUG_CXXFLAGS])
   fi
 


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

Reply via email to