Instrumentor failed with error "too few template-parameter-lists"

Technote (troubleshooting)


Problem(Abstract)

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
    1. Go to the setting dialog box.

    2. Click Runtime Analysis > Runtime Tracing > "Instrumentation control.

    3. Set "Display one note for class template instances" to "No".








    THROUGH COMMAND-LINE TOOLS


      Add the option "-no_template_note" to the instrumentor command line



    THROUGH CODE COMPOSER PLUGIN

    1. Go to the menu Tools" > Rational Test RealTime > "Runtime Options.

    2. 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.


    THROUGH THE GUI


    1. Go to the setting dialog box.

    2. Click click on the "..." icon

    3. Clear the Runtime Tracing option in the section Build > Build options > Build options.










    THROUGH COMMAND-LINE TOOLS


      Remove the option "-trace" from the instrumentor from the command line.





    THROUGH CODE COMPOSER PLUGIN


    1. Go to the menu Tools > Rational Test RealTime > Runtime Analysis Options.

    2. Clear the "Runtime Tracing" option in the dialog box.

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Test RealTime
Runtime Analysis: C++

Software version:

7.5, 7.5.0.1, 7.5.0.2, 7.5.0.3, 7.5.0.4, 7.5.0.5, 7.5.0.6, 8.0

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Reference #:

1584931

Modified date:

2013-06-05

Translate my page

Machine Translation

Content navigation