On 16/02/2017 18:23, Laszlo Ersek wrote: >> Hi, >> >> can you explain exactly which function is missing without >> -D_XOPEN_SOURCE=500? If it is curses' wide-char functions, why does it >> fail with musl but not with glibc? Is _XOPEN_SOURCE always defined by >> glibc if you have _D_GNU_SOURCE? > It is not necessarily auto-defined, but the effect is "as if". > > It is documented in the libc info: > > https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html#index-_005fXOPEN_005fSOURCE >
So is this a musl bug? Paolo