[Scummvm-cvs-logs] SF.net SVN: scummvm: [30656] scummvm/branches/branch-0-11-0/engines/saga/ actor.h

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


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

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

Modified Paths:
--------------
    scummvm/branches/branch-0-11-0/engines/saga/actor.h

Modified: scummvm/branches/branch-0-11-0/engines/saga/actor.h
===================================================================
--- scummvm/branches/branch-0-11-0/engines/saga/actor.h	2008-01-27 15:54:16 UTC (rev 30655)
+++ scummvm/branches/branch-0-11-0/engines/saga/actor.h	2008-01-27 15:54:57 UTC (rev 30656)
@@ -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