Skip to content
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

Compilation errors when build iwasm with GC and EH support #3409

Closed
bashor opened this issue May 9, 2024 · 0 comments · Fixed by #3413
Closed

Compilation errors when build iwasm with GC and EH support #3409

bashor opened this issue May 9, 2024 · 0 comments · Fixed by #3413

Comments

@bashor
Copy link

bashor commented May 9, 2024

Steps to reproduce

Try to build iwasm with GC and EH support, for example, with the following command:

cmake .. -DWAMR_BUILD_GC=1 -DWAMR_BUILD_EXCE_HANDLING=1 && make

Tell us how to reproduce this bug or defect.

Expected behavior

It's compiled successfully and features work properly.

Actual behavior

Got errors like:

wasm-micro-runtime/core/iwasm/interpreter/wasm_loader.c:2958:27: error: 'WASMType' has no member named 'result_count'; did you mean 'ref_count'?
....
wenyongh pushed a commit that referenced this issue May 13, 2024
Use `WASMFuncType` to represent tag_type in `WASMTagImport` and
`WASMTag` so that the type definition is consistent no matter to GC is
enabled or not.

This PR fixes #3409.
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 a pull request may close this issue.

1 participant