Does 'Detect task overruns' in Raspberry Pi have present a bug when generating C++ code?

I'm working with Raspberry Pi and generating code from Simulink with 'Detect task overruns' enabled. If I select C programming language, the build process runs OK. If I select C++, the following error happens:
ert_main.cpp: In function ‘void testForRateOverrun(int)’:
ert_main.cpp:85:25: error: ‘reportOverrun’ was not declared in this scope
reportOverrun(rateID);
^
Has someone found this same problem? If I de-select 'Detect task overruns', with C++, the build process run smoothly.
Regards, Ricardo.

Answers (0)

Categories

Asked:

on 16 Nov 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!