[Bug general/21010] Incompatible with MUSL libc: strerror_r
florian at openwrt dot org
sourceware-bugzilla@sourceware.org
Wed May 24 20:19:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=21010
Florian Fainelli <florian at openwrt dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |florian at openwrt dot org
--- Comment #1 from Florian Fainelli <florian at openwrt dot org> ---
strerror_r is marked with __must_check on glibc, and this leads to the
following warnings/errors (with Werror):
dwfl_error.c: In function 'dwfl_errmsg':
dwfl_error.c:158:18: error: ignoring return value of 'strerror_r', declared
with attribute warn_unused_result [-Werror=unused-result]
strerror_r (error & 0xffff, s, sizeof(s));
^
cc1: all warnings being treated as errors
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list