-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pointer to EM_JS function won't compile with MAIN_MODULE #18370
Comments
@sbc100 I think you recently got |
This is the main module (where EM_JS and EM_ASM have always worked), not the side module. Notably the problem goes away if I do Investigating more. |
sbc100
added a commit
that referenced
this issue
Dec 16, 2022
sbc100
added a commit
that referenced
this issue
Dec 16, 2022
sbc100
added a commit
that referenced
this issue
Dec 16, 2022
sbc100
added a commit
that referenced
this issue
Dec 16, 2022
sbc100
added a commit
that referenced
this issue
Dec 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling the following file:
with
emcc test.c -sMAIN_MODULE
results in the following error:I'm not sure if this is a bug or just a construct that is not allowed during dynamic linking. If it's the latter, perhaps the error message should be improved.
Version of emscripten/emsdk:
The text was updated successfully, but these errors were encountered: