You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main/miniwasm.c:127:73: error: implicit declaration of function 'isnanf' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (data[n].f32 == expected || (isnanf(expected) && isnanf(data[n].f32))) {
^
1 error generated.
If I replace isnanf with isnan it seems to build, so I can add this (hacky) macro to top:
#ifdef__APPLE__#defineisnanf(f) isnan(f)
#endif
Should I PR for this?
Update I am seeing this on benchmark, so this is maybe not the right way: memmory access 0xffffffff of size 0x4 out of bounds:
RUN: #1
TEST: trap
ENGINE: wasm3
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
Error: [trap] out of bounds memory access
ENGINE: /Users/konsumer/Downloads/Web49-main/bin/miniwasm
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
memmory access 0xffffffff of size 0x4 out of bounds
Activity
konsumer commentedon Jan 25, 2023
If I replace
isnanfwithisnanit seems to build, so I can add this (hacky) macro to top:Should I PR for this?
Update I am seeing this on benchmark, so this is maybe not the right way:
memmory access 0xffffffff of size 0x4 out of bounds:It is only for wasm3, so maybe it's ok
ShawSumma commentedon May 7, 2023
It is invalid c99 but so is
({})and my whole goto strategy, clang understands it as the implementation language is settable-std=gnu11.