Re: Class constructor doesn't execute
Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Wed, 7 Dec 2016 17:19:31 +0100
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Krzysztof" == Krzysztof Sawicki <[email protected]> writes: Krzysztof> On 05.12.2016 14:59, Uwe Bonnes wrote: >>>>>>> "Krzysztof" == Krzysztof Sawicki <[email protected]> >>>>>>> writes: >> Krzysztof> Hi, recently I tried some C++ with NutOS and realised that Krzysztof> class' constructors are not executed. I did some research and Krzysztof> realised that following code fixes this issue: Krzysztof> app/cppdemo builds, but I tried such code: Does unmodified cppdemo work as expected? If it works, can you explain why it works? And can you then extend cppdemo in a sensible way to show your problem? An applicable patch is welcome! Bye -- Uwe Bonnes bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion