[Scummvm-cvs-logs] SF.net SVN: scummvm: [30655] scummvm/trunk/engines/saga/actor.h

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Jan 27 16:54:16 CET 2008


Revision: 30655
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30655&view=rev
Author:   thebluegr
Date:     2008-01-27 07:54:16 -0800 (Sun, 27 Jan 2008)

Log Message:
-----------
Disabled a debug function which throws warnings in older versions of GCC (e.g. under BeOS)

Modified Paths:
--------------
    scummvm/trunk/engines/saga/actor.h

Modified: scummvm/trunk/engines/saga/actor.h
===================================================================
--- scummvm/trunk/engines/saga/actor.h	2008-01-27 15:53:09 UTC (rev 30654)
+++ scummvm/trunk/engines/saga/actor.h	2008-01-27 15:54:16 UTC (rev 30655)
@@ -268,9 +268,15 @@
 		z = stream.readUint16LE();
 	}
 
+#if 0
+	// Obsolete function, throws warnings in older versions of GCC
+	// (warning: int format, int32 arg)
+	// Keeping it around for debug purposes
 	void debugPrint(int debuglevel = 0, const char *loc = "Loc:") const {
 		debug(debuglevel, "%s %d, %d, %d", loc, x, y, z);
 	}
+#endif
+
 };
 
 class CommonObjectData {


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