Re: [PATCH 1/2] libdw: Use INTUSE with dwarf_get_units

2023-12-21 Thread Mark Wielaard
Hi Aaron, On Wed, Dec 06, 2023 at 08:35:03PM -0500, Aaron Merey wrote: > Add INTDECL for dwarf_get_units and call dwarf_get_units with INTUSE. This is obviously OK. Although it is a bit of a micro-optimization. Thanks, Mark

Re: [PATCH] tests: fix build against upcoming `gcc-14` (`-Werror=calloc-transposed-args`)

2023-12-21 Thread Mark Wielaard
Hi Sergei, On Thu, 2023-12-21 at 09:23 +, Sergei Trofimovich wrote: > `gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It > detected minor infelicity in `calloc()` API usage in `elfutils`: > > elfstrmerge.c: In function 'main': > elfstrmerge.c:450:32: error: > '

[PATCH] tests: fix build against upcoming `gcc-14` (`-Werror=calloc-transposed-args`)

2023-12-21 Thread Sergei Trofimovich
`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It detected minor infelicity in `calloc()` API usage in `elfutils`: elfstrmerge.c: In function 'main': elfstrmerge.c:450:32: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later a