This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: PATCH: Declare memory allocation functions "throw()"
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