[Scummvm-git-logs] scummvm master -> b78318dbf1480423cebaf45bb551d92dd09abac0

digitall noreply at scummvm.org
Sun Nov 3 17:29:42 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b78318dbf1 AGS: Fix Usage Of Undefined Preprocessor Define GCC Compiler Warning


Commit: b78318dbf1480423cebaf45bb551d92dd09abac0
    https://github.com/scummvm/scummvm/commit/b78318dbf1480423cebaf45bb551d92dd09abac0
Author: D G Turner (digitall at scummvm.org)
Date: 2024-11-03T17:28:44Z

Commit Message:
AGS: Fix Usage Of Undefined Preprocessor Define GCC Compiler Warning

This is emitted if -Wundef is passed to GCC.

Changed paths:
    engines/ags/engine/script/cc_instance.h


diff --git a/engines/ags/engine/script/cc_instance.h b/engines/ags/engine/script/cc_instance.h
index 1c058cb0e69..ca5a235c94d 100644
--- a/engines/ags/engine/script/cc_instance.h
+++ b/engines/ags/engine/script/cc_instance.h
@@ -56,7 +56,7 @@ using namespace AGS;
 // Script executor debugging flag:
 // enables mistake checks, but slows things down!
 #ifndef DEBUG_CC_EXEC
-#define DEBUG_CC_EXEC (AGS_PLATFORM_DEBUG)
+#define DEBUG_CC_EXEC (0)
 #endif
 
 struct ScriptInstruction {




More information about the Scummvm-git-logs mailing list