Hello,
Tried to compile the latest mruby for Dreamcast, but it failed with this message:
/opt/toolchains/dc/kos-ports/mruby/build/mruby-3.2.0/src/readfloat.c: In function ‘mrb_read_float’:
/opt/toolchains/dc/kos-ports/mruby/build/mruby-3.2.0/src/readfloat.c:69:12: error: implicit declaration of function ‘powl’; did you mean ‘powf’? [-Werror=implicit-function-declaration]
69 | res *= powl(10.0, sign * e);
| ^~~~
| powf
Cause: bd668e4
that went from pow() to powl()
This commit warned about architectures not supporting long doubles... and the Dreamcast seems to be one of those.
Dreamcast mruby compiled via:
Hello,
Tried to compile the latest mruby for Dreamcast, but it failed with this message:
/opt/toolchains/dc/kos-ports/mruby/build/mruby-3.2.0/src/readfloat.c: In function ‘mrb_read_float’:
/opt/toolchains/dc/kos-ports/mruby/build/mruby-3.2.0/src/readfloat.c:69:12: error: implicit declaration of function ‘powl’; did you mean ‘powf’? [-Werror=implicit-function-declaration]
69 | res *= powl(10.0, sign * e);
| ^~~~
| powf
Cause: bd668e4
that went from pow() to powl()
This commit warned about architectures not supporting long doubles... and the Dreamcast seems to be one of those.
Dreamcast mruby compiled via: