-
Notifications
You must be signed in to change notification settings - Fork 606
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build errors when initializing wasm_val_t values with macros (#3007)
Errors were reported when initializing wasm_val_t values with WASM_I32_VAL like macros. ``` error: missing initializer for member ‘wasm_val_t::__paddings’ [-Werror=missing-field-initializers] 64 | wasm_val_t res = {WASM_INIT_VAL}; ``` And rename DEPRECATED to WASM_API_DEPRECATED to avoid using defines with generic names.
- Loading branch information
1 parent
0844245
commit 63012f0
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters