bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] stdlib: make rpl_free declaration specification match the on


From: Bruno Haible
Subject: Re: [PATCH] stdlib: make rpl_free declaration specification match the one in string.h
Date: Fri, 29 Apr 2022 01:51:55 +0200

Hi Simon,

Thanks for the report.

> The issue seems to be that the free (rpl_free) declaration from string.h
> has a throw() specification, but the rpl_free declaration in stdlib.h
> does not.

Indeed.

> Fix this by adding the same ifdef in stdlib.in.h as there is at
> string.in.h:128, to conditionally include the throw() specification.

The patch is right.

> Not sure if this is right, but at least it fixes the build failure we
> see.

Thanks for stating this. I was wondering whether the _GL_CXXALIAS_RPL
and _GL_CXXALIAS_SYS should be changed as well. But since you say that
it's not needed, your patch is good.

I pushed it in your name. Thanks!

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]