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