91861 / wayst

A simple terminal emulator
MIT License
284 stars 8 forks source link

Implicit function "strtof32" when build on musl. #111

Closed lidgnulinux closed 5 months ago

lidgnulinux commented 5 months ago

Hello, I got an error about implicit function (strtof32) when build on alpine linux. Alpine linux is using musl. I tried to replace strtof32 with strtob2 on src/settings.c and it's compiled successfully.

                // float val = strtof32(buf.buf, NULL);
                float val = strtob2(buf.buf, NULL);

Is this correct or not ? Thanks.

91861 commented 5 months ago

It should be strtof.