On Sun, Aug 1, 2021 at 10:36 PM Paul Eggert <egg...@cs.ucla.edu> wrote:
> One minor problem I just discovered with the now-released diffutils 3.8,
> a problem that was caused by my recent Gnulib changes, is that building
> diffutils on RHEL 8.4 results in diagnostics like the following:
>
> In file included from dirname.c:25:
> xalloc.h:133:3: warning: 'malloc (rpl_free)' attribute ignored on
> functions declared 'inline' [-Wattributes]
>    133 |   _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2)) _GL_ATTRIBUTE_RETURNS_NONNULL;
>        |   ^~~~~~~~~~~~~~~~~~~~~~~~
>
>
> These diagnostics are annoying but otherwise harmless. I just now
> installed a Gnulib patch to fix this, here:
>
> https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=9b69ffb766a2f6c0a06ad4b71040209534fde094

Thanks. I won't wait 2.5 years for the next release :-)

Reply via email to