C++ operator new when out of heap.

Nick.SIMON at syntegra.bt.co.uk Nick.SIMON at syntegra.bt.co.uk
Tue Aug 15 05:51:24 UTC 2000


> -----Original Message-----
> From: Joel Sherrill [mailto:joel.sherrill at OARcorp.com]
> Sent: 14 August 2000 21:25
> To: Nick.SIMON at syntegra.bt.co.uk
> Cc: rtems-users at OARcorp.com
> Subject: Re: C++ operator new when out of heap.
> 
> 
> Nick.SIMON at syntegra.bt.co.uk wrote:
> > 
> > The C++ spec now says that 'new' never returns null, but if 
> out of heap
> > throws an exception (a C++ exception that is).
> > 
> > Does anyone know if this is the case with RTEMS tools & 
> libraries, or is
> > null returned as per the old standard?  I'm using 4.5.0 
> beta 3 (soon to be
> > beta 3a).
> 
> It would depend on what the GNU tools do.  The new operator should
> be in gcc implementation.  

Anyone know where to look?  I'm not at all up on the construction, source
layout etc. of the tools.
> 
> > TIA,
> > 
>

-- Nick Simon 
 



More information about the users mailing list