Nimbin[12]?SDL & Graphics / sdl_runtime_compiler / commits / a98539d

sdl_runtime_compiler git · main

SDL3 game for running and compiling code at runtime

sdl3 c++ compiler dlopen cmake · first commit 2026-04-19 · last commit 2026-07-03 (3 months ago) · synced 3 days ago · upstream: git.ide3.de/hsnr/sdl-runtime-compiler

C++ 72.3% C 26.2%
git clone https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler.gitwget https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler/archive/sdl_runtime_compiler.tar.gz

Fix compiler output Unicode bs

Christian Immanuel · 2026-05-30 20:10 · a98539d31b3de20c95150e3b4cf8a0dbdd0e52bd

 src/systems/mod_loader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/systems/mod_loader.cpp b/src/systems/mod_loader.cpp
index 4582c84..f0e8d53 100644
--- a/src/systems/mod_loader.cpp
+++ b/src/systems/mod_loader.cpp
@@ -92,7 +92,7 @@ ModLoader::build(TextWallList& texts, const std::string& user_src, float world_s
     pending_so_ = "/tmp/game_mod_" + std::to_string(build_serial_++) + ".so";
 
     // Build a shared library. -fPIC + -shared; stderr→stdout for error capture.
-    std::string cmd = "gcc -shared -fPIC -O0 -I";
+    std::string cmd = "LC_ALL=C gcc -shared -fPIC -O0 -I";
     cmd += MOD_INCLUDE_DIR;
     cmd += " ";
     cmd += MOD_SRC_PATH;