Re: [PATCH v2] libdw: dwarf_frame_register takes an array of at least 3 Dwarf_Ops

2020-10-26 Thread Mark Wielaard
On Mon, 2020-10-19 at 11:27 +0200, Mark Wielaard wrote: > Forgot the ChangeLog entries in the first version. > > GCC11 will warn about a mismatch in the declaration of dwarf_frame_register: > > dwarf_frame_register.c:37:61: error: argument 3 of type ‘Dwarf_Op *’ > declared as a pointer [-Werror

[PATCH v2] libdw: dwarf_frame_register takes an array of at least 3 Dwarf_Ops

2020-10-19 Thread Mark Wielaard
Forgot the ChangeLog entries in the first version. GCC11 will warn about a mismatch in the declaration of dwarf_frame_register: dwarf_frame_register.c:37:61: error: argument 3 of type ‘Dwarf_Op *’ declared as a pointer [-Werror=array-parameter=] 37 | dwarf_frame_register (Dwarf_Frame *fs, in