https://issues.dlang.org/show_bug.cgi?id=24291

--- Comment #7 from Walter Bright <[email protected]> ---
(In reply to Daniel from comment #5)
> #if defined(__GNUC__) && !defined(__EMSCRIPTEN__)
> #define JANET_USE_COMPUTED_GOTOS
> #endif

Unfortunately, if dmd #define'd __EMSCRIPTEN__ it would likely turn on some
other nutburger extensions ImportC doesn't support. importc.h cannot #undef
JANET_USE_COMPUTED_GOTOS because importc.h is #include'd first.

Turning off __GNUC__ will cause all kinds of other problems.

--

Reply via email to