Replies: 1 comment 3 replies
-
This is almost certainly a problem in Meson itself. The supported C standard versions for Emscripten are inherited from Clang, but the Emscripten version numbers are much lower than the Clang ones. Clang 6.0 is the minimum version for C17 support (https://github.com/mesonbuild/meson/blob/cfd57180eef9036c7167c5682b9f3055a540fccc/mesonbuild/compilers/c.py#L112), but Emscripten is only at version 3.x so it'll fail that check if it's not special-cased. I can open a PR for that tonight probably. Just need to figure out what the correct minimum version is for declaring C17 (and C18/C20) support. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I seem to be able to do
emcc -std=c17 test.c
with emscripten 3.1.45 so not sure why meson is complaining about this:Could it be an issue in pywasmcross.py somehow?
See scikit-learn/scikit-learn#29013 for more details about how it manifests itself in scikit-learn.
Beta Was this translation helpful? Give feedback.
All reactions