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: Paulo Marques
Subject: Re: [avr-libc-dev] RE: [avr-gcc-list] gcc 4.0.x on Linux
Date: Mon, 28 Nov 2005 12:38:17 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)

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]