Trying to compile app/cppdemo/cppdemo.cc with
avr-gcc (WinAVR 20080610) 4.3.0
gives
cppdemo.cc:38: error: template with C linkage
../.././nut/include/cpp/nutcpp.h: In function 'int _cxx_main_()':
../.././nut/include/cpp/nutcpp.h:65: error: previous declaration of 'int _cxx_main_()' with 'C++' linkage
cppdemo.cc:74: error: conflicts with new declaration with 'C' linkage
cppdemo.cc: At global scope:
cppdemo.cc:108: error: expected `}' at end of input
cppdemo.cc:108: error: expected `}' at end of input
cppdemo.cc:108: error: expected `}' at end of input
cppdemo.cc:108: error: expected `}' at end of input