[Top][All Lists]

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

Re: [avr-libc-dev] new, delete support

From: kashey
Subject: Re: [avr-libc-dev] new, delete support
Date: Thu, 01 Jun 2006 14:51:08 +0300
User-agent: Thunderbird 1.5 (X11/20060119)

kashey пишет:
Ned Konz пишет:
kashey wrote:
Hi all.
When be included support new and delete functions support in avr-libc?

What do you need? Assuming you don't need the whole libstdc++ library, this will probably do what you need for typical C++ programs.

extern "C" {
#include <stddef.h>
#include <stdlib.h>

void *operator
new(size_t sz) throw()
  return malloc(sz);

void operator
delete(void *p)

extern "C" __cxa_pure_virtual();

void __cxa_pure_virtual()

And what about calling Constructor/Destructor ?

Пожелания и 100 грамм принимаються, критика и маты в /dev/null

reply via email to

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