This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]