https://sourceware.org/bugzilla/show_bug.cgi?id=30084
Bug ID: 30084
Summary: readelf.c:handle_bit_registers() sets parameter desc
without using it.
Product: elfutils
Version: unspecified
Status: NEW
Severity: no
https://sourceware.org/bugzilla/show_bug.cgi?id=30077
--- Comment #6 from David Edelsohn ---
The error is reported if one configures and builds with Clang.
Also, yes, this is a C11 feature, but libdwfl/Makefile.in explicitly invokes
the compiler with -std=gnu99 (AM_CFLAGS).
--
You are receivin
https://sourceware.org/bugzilla/show_bug.cgi?id=30077
--- Comment #5 from Mark Wielaard ---
(In reply to David Edelsohn from comment #3)
> The struct is needed by libdwfl.h to prototype
>
> extern debuginfod_client *dwfl_get_debuginfod_client (Dwfl *dwfl);
>
> but that function is defined in de
https://sourceware.org/bugzilla/show_bug.cgi?id=30077
--- Comment #4 from Mark Wielaard ---
(In reply to Sam James from comment #2)
> These issues sometimes appear with -flto -Wlto-type-mismatch but not clear
> that's the case here.
Yes, but typedefs don't define new types, just alias types.
Als