PATCH: Declare memory allocation functions "throw()"
Mark Mitchell
mark@codesourcery.com
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.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Newlib
mailing list