Author: cazfi
Date: Thu Apr 28 06:32:47 2016
New Revision: 32514

URL: http://svn.gna.org/viewcvs/freeciv?rev=32514&view=rev
Log:
Disabled nonnull-compare compiler errors from debug builds.

See patch #7156

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=32514&r1=32513&r2=32514&view=diff
==============================================================================
--- branches/S2_6/m4/debug.m4   (original)
+++ branches/S2_6/m4/debug.m4   Thu Apr 28 06:32:47 2016
@@ -49,12 +49,12 @@
   AC_DEFINE([LUA_USE_APICHECK], [1], [Lua Api checks])
 
   FC_C_FLAGS([-Werror -Wmissing-prototypes -Wmissing-declarations \
-              -Wformat -Wformat-security -Wnested-externs \
+              -Wformat -Wformat-security -Wnested-externs -Wno-nonnull-compare 
\
               -Wshadow],
              [], [EXTRA_DEBUG_CFLAGS])
   if test "x$cxx_works" = "xyes" ; then
     FC_CXX_FLAGS([-Werror -Wmissing-prototypes -Wmissing-declarations \
-                  -Wformat -Wformat-security],
+                  -Wformat -Wformat-security -Wno-nonnull-compare],
                  [], [EXTRA_DEBUG_CXXFLAGS])
   fi
 


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

Reply via email to