From 28210363d03128233c00b100873ccecc47aa0413 Mon Sep 17 00:00:00 2001 From: Justin Kerk Date: Wed, 13 Mar 2024 11:41:25 -0700 Subject: Fix compile error in 3rdparty/bx with newer Emscripten versions (#12098) From bkaradzic/bx@03fd6f47715774e2aebbb429663ac553da2fa397 --- 3rdparty/bx/src/debug.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/3rdparty/bx/src/debug.cpp b/3rdparty/bx/src/debug.cpp index 8bbf1e6d122..062df287d7a 100644 --- a/3rdparty/bx/src/debug.cpp +++ b/3rdparty/bx/src/debug.cpp @@ -43,7 +43,13 @@ namespace bx // NativeClient: NaCl module load failed: Validation failure. File violates Native Client safety rules. __asm__ ("int $3"); #elif BX_PLATFORM_EMSCRIPTEN - emscripten_log(EM_LOG_CONSOLE | EM_LOG_ERROR | EM_LOG_C_STACK | EM_LOG_JS_STACK | EM_LOG_DEMANGLE, "debugBreak!"); + emscripten_log(0 + | EM_LOG_CONSOLE + | EM_LOG_ERROR + | EM_LOG_C_STACK + | EM_LOG_JS_STACK + , "debugBreak!" + ); // Doing emscripten_debugger() disables asm.js validation due to an emscripten bug //emscripten_debugger(); EM_ASM({ debugger; }); -- cgit v1.2.3