Skip to content

Scanner: add type specifier missing #227

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

Merged
merged 2 commits into from
Jun 10, 2023

Conversation

aspeddro
Copy link
Collaborator

@aspeddro aspeddro commented Jun 2, 2023

I got the following error when compile to wasm on CI:

src/scanner.c:154:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
  const in_string = state->in_quotes || state->in_backticks;
  ~~~~~ ^
  int
1 error generated.
emcc: error: '/emsdk/upstream/bin/clang -target wasm32-unknown-emscripten -fignore-exceptions -fPIC -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -DEMSCRIPTEN -Werror=implicit-function-declaration -I/emsdk/upstream/emscripten/cache/sysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Os -fno-exceptions -Isrc src/scanner.c -c -o /tmp/emscripten_temp_kz9rxsh8/scanner_0.o' failed (returned 1)

Co-authored-by: Victor Nakoryakov <victor@amperka.ru>
@nkrkv nkrkv merged commit 6376fa0 into rescript-lang:main Jun 10, 2023
@nkrkv
Copy link
Collaborator

nkrkv commented Jun 10, 2023

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants