You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
369.4 signals.c:146:4: error: call to undeclared function 'mythread_sigmask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
369.4 146 | mythread_sigmask(SIG_BLOCK, &hooked_signals, NULL);
369.4 | ^
369.4 signals.c:146:4: note: did you mean 'pthread_sigmask'?
369.4 /emsdk/upstream/emscripten/cache/sysroot/include/signal.h:230:5: note: 'pthread_sigmask' declared here
369.4 230 | int pthread_sigmask(int, const sigset_t *__restrict, sigset_t *__restrict);
369.4 | ^
369.4 signals.c:163:4: error: call to undeclared function 'mythread_sigmask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
369.4 163 | mythread_sigmask(SIG_UNBLOCK, &hooked_signals, NULL);
I don't have much clue here because I know very little about WASM or Emscripten. I pushed a branch "wasm" with a simple commit but it's just a guess. Can you test it? If it builds, it could be fine.
Is it still so that there is no "sigprocmask" function? That is, is the old commit to mythread.h still needed?
Compiling with emscripten fails with:
mythread_sigmask was disabled here: 81db3b8
Should the calling code get #if-defed out as well for WASM?
The text was updated successfully, but these errors were encountered: