This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/21010] Incompatible with MUSL libc: strerror_r


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]