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)
{
free(p);
}
extern "C" __cxa_pure_virtual();
void __cxa_pure_virtual()
{
abort();
}
--
Ned Konz
[EMAIL PROTECTED]
http://bike-nomad.com
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev