avr-g++: what can i do if the operator new() fails?

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

 



Hi,

I use avr-g++ 4.2.1.
To save space in my embedded project, my classes have their own operator 
new(). But the constructor is always called, even if the allocation fails. 
How can I avoid calling constructors in this case? The exception handling 
seems not yet working on AVR platform.

Thanks in advance
K. Gy.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux