[Scummvm-cvs-logs] SF.net SVN: scummvm:[46131] scummvm/trunk/test/module.mk
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Nov 24 23:11:27 CET 2009
Revision: 46131
http://scummvm.svn.sourceforge.net/scummvm/?rev=46131&view=rev
Author: fingolfin
Date: 2009-11-24 22:11:27 +0000 (Tue, 24 Nov 2009)
Log Message:
-----------
TEST: Workaround for 'make test' when using -Werror
Modified Paths:
--------------
scummvm/trunk/test/module.mk
Modified: scummvm/trunk/test/module.mk
===================================================================
--- scummvm/trunk/test/module.mk 2009-11-24 22:11:07 UTC (rev 46130)
+++ scummvm/trunk/test/module.mk 2009-11-24 22:11:27 UTC (rev 46131)
@@ -13,6 +13,12 @@
TEST_CFLAGS := -I$(srcdir)/test/cxxtest
TEST_LDFLAGS :=
+ifdef HAVE_GCC3
+# In test/common/str.h, we test a zero length format string. This causes GCC
+# to generate a warning which in turn poses a problem when building with -Werror.
+# To work around this, we disable -Wformat here.
+TEST_CFLAGS += -Wno-format
+endif
# Enable this to get an X11 GUI for the error reporter.
#TEST_FLAGS += --gui=X11Gui
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list