Troubleshooting
Problem
Instrumenting source code with IBM Rational Test RealTime leads to error related to template .
Symptom
When you instrument source code, you get the following error message.
compilation of /test/TSource_aug.cc to /test/TSource_aug.o
/test/TSource_aug.cc:1730: error: too few template-parameter-lists
/test/TSource_aug.cc:1731: error: too few template-parameter-lists
Cause
This error might occur, when you use the Runtime Tracing component.
Resolving The Problem
Removing this error depends on if you need to use the Runtime Tracing component or not. In both situation you have three options to make the corrections.
- Through the graphical user interface (GUI).
- Through the command-line tools.
- Through the code composer plugin.
- Your need the Runtime Tracing component
Turn off the "template note" feature. To turn off this feature do one of the following:
THROUGH THE GUI
- Go to the setting dialog box.
- Click Runtime Analysis > Runtime Tracing > "Instrumentation control.
- Set "Display one note for class template instances" to "No".
- Go to the menu Tools" > Rational Test RealTime > "Runtime Options.
- Add the option -no_template_note in the field Other Options in the dialog box.
- You are NOT interested in the Runtime Tracing component
The solution consist of disabling this component.
- Go to the setting dialog box.
- Click click on the "..." icon
- Clear the Runtime Tracing option in the section Build > Build options > Build options.
- Go to the menu Tools > Rational Test RealTime > Runtime Analysis Options.
- Clear the "Runtime Tracing" option in the dialog box.
THROUGH COMMAND-LINE TOOLS
Add the option "-no_template_note" to the instrumentor command line
THROUGH CODE COMPOSER PLUGIN
THROUGH THE GUI
THROUGH COMMAND-LINE TOOLS
Remove the option "-trace" from the instrumentor from the command line.
THROUGH CODE COMPOSER PLUGIN
[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Runtime Analysis: C++","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF027","label":"Solaris"},{"code":"PF016","label":"Linux"},{"code":"PF010","label":"HP-UX"},{"code":"PF002","label":"AIX"}],"Version":"8.0;7.5.0.6;7.5.0.2;7.5.0.5;7.5.0.3;7.5.0.4;7.5.0.1;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21584931