This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Description
Trying to compile for the n3ds using the devkitpro toolchain result in the following error/warning
/Users/themode/CLionProjects/Project/build/_deps/wasmtime-cpp-src/include/wasmtime.hh: In member function 'std::optional<long int> wasmtime::Error::i32_exit() const':
/Users/themode/CLionProjects/Project/build/_deps/wasmtime-cpp-src/include/wasmtime.hh:169:47: error: invalid conversion from 'int32_t*' {aka 'long int*'} to 'int*' [-fpermissive]
169 | if (wasmtime_error_exit_status(ptr.get(), &status)) {
| ^~~~~~~
| |
| int32_t* {aka long int*}
In file included from /Users/themode/CLionProjects/Project/build/include/wasmtime/config.h:12,
from /Users/themode/CLionProjects/Project/build/include/wasmtime.h:186,
from /Users/themode/CLionProjects/Project/build/_deps/wasmtime-cpp-src/include/wasmtime.hh:52:
/Users/themode/CLionProjects/Project/build/include/wasmtime/error.h:62:54: note: initializing argument 2 of 'bool wasmtime_error_exit_status(const wasmtime_error_t*, int*)'
62 | int *status);