From: Florian K. <fl...@ei...> - 2025-07-31 16:03:23
|
On 31.07.25 13:26, Mark Wielaard wrote: > https://sourceware.org/cgit/valgrind/commit/?id=ab551753fad6a87acbb8a87a80ed5f5578bfd29c > > commit ab551753fad6a87acbb8a87a80ed5f5578bfd29c > Author: Martin Cermak <mc...@re...> > Date: Fri Jul 18 17:11:49 2025 +0200 > > Implement and override mallinfo2 > > Implement and override mallinfo2. Add a testcase covering mallinfo2. That testcase produces several compiler warnings on amd64-linux with glibc 2.35. E.g. mallinfo2.c:21:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] The fix is to use %zu but I'm not sure whether mallinfo2 is defined the same way on all supported platforms. Florian |