PATCH: Declare memory allocation functions "throw()"

Mark Mitchell
Fri May 4 19:58:00 GMT 2007

Andrew_Pinski@PlayStation.Sony.Com wrote:

> One suggestion, if we are using a new enough GCC (>=3.3), we can have 
> _NOTHROW being defined as __attribute__((nothrow)) so we get the same 
> benifit when people use -fexceptions in their C code.

OK, good idea.  Consider the obvious #ifdef's added.


Mark Mitchell
(650) 331-3385 x713

More information about the Newlib mailing list