Author: cazfi Date: Thu Apr 28 06:33:06 2016 New Revision: 32515 URL: http://svn.gna.org/viewcvs/freeciv?rev=32515&view=rev Log: Disabled nonnull-compare compiler errors from debug builds.
See patch #7156 Modified: branches/S2_5/m4/debug.m4 Modified: branches/S2_5/m4/debug.m4 URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/m4/debug.m4?rev=32515&r1=32514&r2=32515&view=diff ============================================================================== --- branches/S2_5/m4/debug.m4 (original) +++ branches/S2_5/m4/debug.m4 Thu Apr 28 06:33:06 2016 @@ -47,11 +47,11 @@ 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], [], [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