[Scummvm-cvs-logs] SF.net SVN: scummvm:[42107] scummvm/trunk/Makefile
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Jul 4 21:04:39 CEST 2009
Revision: 42107
http://scummvm.svn.sourceforge.net/scummvm/?rev=42107&view=rev
Author: lordhoto
Date: 2009-07-04 19:04:39 +0000 (Sat, 04 Jul 2009)
Log Message:
-----------
After discussing with Max, disable -Wmissing-format-attribute again. Also added a comment explaining why it is disabled.
Modified Paths:
--------------
scummvm/trunk/Makefile
Modified: scummvm/trunk/Makefile
===================================================================
--- scummvm/trunk/Makefile 2009-07-04 18:54:43 UTC (rev 42106)
+++ scummvm/trunk/Makefile 2009-07-04 19:04:39 UTC (rev 42107)
@@ -26,8 +26,13 @@
# Enable even more warnings...
CXXFLAGS+= -Wpointer-arith -Wcast-qual -Wcast-align
CXXFLAGS+= -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings
-CXXFLAGS+= -Wmissing-format-attribute
+# Currently we disable this gcc flag, since it will also warn in cases,
+# where using GCC_PRINTF (means: __attribute__((format(printf, x, y))))
+# is not possible, thus it would fail compiliation with -Werror without
+# being helpful.
+#CXXFLAGS+= -Wmissing-format-attribute
+
# Disable RTTI and exceptions, and enabled checking of pointers returned by "new"
CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new
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