core_unix icon indicating copy to clipboard operation
core_unix copied to clipboard

musl-libc compatibility

Open kit-ty-kate opened this issue 11 months ago • 1 comments

The latest version of core_unix (v0.17.0) fails on Alpine Linux with (amongst other error messages):

linux_ext_stubs.c: In function 'core_linux_sendmsg_nonblocking_no_sigpipe_stub':
linux_ext_stubs.c:239:45: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  239 |   struct msghdr msghdr = {NULL, 0, NULL, 0, NULL, 0, 0};
      |                                             ^~~~
linux_ext_stubs.c:239:45: note: (near initialization for 'msghdr.__pad1')

kit-ty-kate avatar Dec 31 '24 17:12 kit-ty-kate

Fix in #12

copy avatar Jan 29 '25 18:01 copy