[ping] Declare memory allocation functions "throw()"

Jeff Johnston jjohnstn@redhat.com
Tue Apr 21 18:46:00 GMT 2009


Kazu Hirata wrote:
> Hi,
>
> Could somebody review the following patch?
>
>   PATCH: Declare memory allocation functions "throw()"
>   http://sourceware.org/ml/newlib/2007/msg00483.html
>
> Thanks,
>
> Kazu Hirata
>   
No idea what happened to these messages.  They're not in my trash, junk, 
or regular mail folders.

Anyway, the patch was missing a definition of _EXFUN_NOTHROW in the 
non-STDC case and I
added the suggested check for gcc >=3.4 plus __attribute__ ((nothrow)) 
as suggested in the followup
messages.

Modified patch checked in.

-- Jeff J.



More information about the Newlib mailing list