|
Message-ID: <20180805010455.GQ1392@brightrain.aerifal.cx> Date: Sat, 4 Aug 2018 21:04:55 -0400 From: Rich Felker <dalias@...c.org> To: "W. Michael Petullo" <mike@...n.org> Cc: musl@...ts.openwall.com Subject: Re: strerror_r and _GNU_SOURCE On Sat, Aug 04, 2018 at 08:54:08PM -0400, W. Michael Petullo wrote: > When _GNU_SOURCE is defined, strerror_r should return a char *. Musl > 1.1.19 declares strerror_r as: > > int strerror_r (int, char *, size_t) > > I have found that _GNU_SOURCE is defined when I build snort on OpenWrt > (OpenWrt uses musl). This causes the build to fail because snort expects > strerror_r to return a char * since _GNU_SOURCE is defined. > > Is this a bug in musl? No, musl explicitly does not suppore the GNU interfaces that conflict with standard interfaces by the same name. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.