-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
Version defines for Emscripten 5.0.0 gives 4.0.24:
__EMSCRIPTEN_major__ == 4, should be 5
__EMSCRIPTEN_minor__ == 0
__EMSCRIPTEN_tiny__ == 24, should be 0
Version of emscripten/emsdk:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 5.0.0 (a7c5deabd7c88ba1c38ebe988112256775f944c6)
clang version 23.0.0git (https:/github.com/llvm/llvm-project 358db292cc6a9a8a5448a296f643312289f328d7)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: C:\bin\emsdk\upstream\bin
Failing command line in full:
No fail
Full link command and output with -v appended:
Any emcc call.
#define STRINGIZE(_x) STRINGIZE_(_x)
#define STRINGIZE_(_x) #_x
...
printf("built with Emscripten "
STRINGIZE(__EMSCRIPTEN_major__) "." STRINGIZE(__EMSCRIPTEN_minor__) "." STRINGIZE(__EMSCRIPTEN_tiny__)
" at " __DATE__ "\n");gives:
built with Emscripten 4.0.24 at Feb 7 2026
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels