mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
44d75cec3c
Signed-off-by: Huang Qi <huangqi3@xiaomi.com> > And another question, I got many warnings while compiling wamr by clang like: > > ``` > [10/67] Building C object CMakeFiles/vmlib.dir/home/huang/Work/wasm-micro-runtime/core/iwasm/common/wasm_exec_env.c.o > In file included from /home/huang/Work/wasm-micro-runtime/core/iwasm/common/wasm_exec_env.c:6: > In file included from /home/huang/Work/wasm-micro-runtime/core/iwasm/common/wasm_exec_env.h:11: > /home/huang/Work/wasm-micro-runtime/core/iwasm/common/../interpreter/wasm.h:573:53: warning: unused parameter 'type_count' [-Wunused-parameter] > wasm_get_smallest_type_idx(WASMType **types, uint32 type_count, > ^ > 1 warning generated. > [15/67] Building C object CMakeFiles/vmlib.dir/home/huang/Work/wasm-micro-runtime/core/iwasm/common/wasm_application.c.o > In file included from /home/huang/Work/wasm-micro-runtime/core/iwasm/common/wasm_application.c:8: > In file included from /home/huang/Work/wasm-micro-runtime/core/iwasm/common/../interpreter/wasm_runtime.h:9: > /home/huang/Work/wasm-micro-runtime/core/iwasm/interpreter/wasm.h:573:53: warning: unused parameter 'type_count' [-Wunused-parameter] > wasm_get_smallest_type_idx(WASMType **types, uint32 type_count, > ^ > 1 warning generated. > ``` > > It can be fixed simply by -Wno-unused-parameter, but should we fix it by `UNUSED(xxx)` manually ? It would be great to fix these warnings, but it really takes efforts.
26 lines
513 B
Plaintext
26 lines
513 B
Plaintext
.cache
|
|
.vs
|
|
.vscode
|
|
/.idea
|
|
**/cmake-build-*/
|
|
**/*build/
|
|
*.obj
|
|
*.a
|
|
*.so
|
|
|
|
core/deps/**
|
|
core/shared/mem-alloc/tlsf
|
|
core/app-framework/wgl
|
|
|
|
wamr-sdk/out/
|
|
wamr-sdk/runtime/build_runtime_sdk/
|
|
test-tools/host-tool/bin/
|
|
product-mini/app-samples/hello-world/test.wasm
|
|
product-mini/platforms/linux-sgx/enclave-sample/App/
|
|
product-mini/platforms/linux-sgx/enclave-sample/Enclave/
|
|
product-mini/platforms/linux-sgx/enclave-sample/iwasm
|
|
|
|
build_out
|
|
tests/wamr-test-suites/workspace
|
|
|
|
!/test-tools/wamr-ide/VSCode-Extension/.vscode |