wwwg / wasmdec

WebAssembly to C decompiler
https://wwwg.github.io/web-wasmdec/
MIT License
396 stars 26 forks source link

Compile error: src/wasm/WasmUtils.cc:30:8: error: ‘WasmType’ has not been declared #6

Closed deluser8 closed 6 years ago

deluser8 commented 6 years ago

When I compile this program, I get this error.

src/wasm/WasmUtils.cc:30:8: error: ‘WasmType’ has not been declared case WasmType::none: ^~~~ src/wasm/WasmUtils.cc:31:8: error: ‘WasmType’ has not been declared case WasmType::unreachable: ^~~~ src/wasm/WasmUtils.cc:34:8: error: ‘WasmType’ has not been declared case WasmType::i32: ^~~~ src/wasm/WasmUtils.cc:38:8: error: ‘WasmType’ has not been declared case WasmType::i64: ^~~~ src/wasm/WasmUtils.cc:42:8: error: ‘WasmType’ has not been declared case WasmType::f32: ^~~~ src/wasm/WasmUtils.cc:46:8: error: ‘WasmType’ has not been declared case WasmType::f64: ^~~~

gcc/g++ version 7.2 DISTRIB_ID=Kali DISTRIB_RELEASE=kali-rolling DISTRIB_CODENAME=kali-rolling

Thank you!

wwwg commented 6 years ago

Fixed this specific compilation issue