avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-libc-dev] RE: [avr-gcc-list] gcc 4.0.x on Linux


From: Ron
Subject: RE: [avr-libc-dev] RE: [avr-gcc-list] gcc 4.0.x on Linux
Date: Tue, 29 Nov 2005 21:59:16 +1100

Yep. Sorry about that. I had been using my own malloc/free but with
different names. Made the changes at the last minute. Recipe for
disaster.

Ron

> -----Original Message-----
> From: Paulo Marques [mailto:address@hidden 
> Sent: Monday, 28 November 2005 11:38 PM
> To: Ron
> Cc: address@hidden
> Subject: Re: [avr-libc-dev] RE: [avr-gcc-list] gcc 4.0.x on Linux
> 
> 
> Ron wrote:
> > The new and delete (at least a pre ANSI/ISO version, ie no 
> exceptions) 
> > can be hacked with:
> > 
> > inline void* operator new(unsigned int size) {return new(size);} 
> > inline void* operator new[](unsigned int size) {return new(size);}
>                                                           ^^^
> I guess this is a typo and you meant "malloc" there, no?
> 
> -- 
> Paulo Marques
> Software Development Department - Grupo PIE, S.A.
> Phone: +351 252 290600, Fax: +351 252 290601
> Web: www.grupopie.com
> 
> Pointy-Haired Boss: I don't see anything that could stand in our way.
>             Dilbert: Sanity? Reality? The laws of physics?
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]