IBM Support

PI10621: REGRESSION: Template class generates redundant scope with generalization and fails compilation

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • TemplateParameter{
    
    where it should be
    
    template ?class TemplateParameter? class MyTemplate : public
    TemplateParameter{
    
    Could only reproduce with the customers model.
    Rhapsody 8.0.2 generates the correct code.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    There is a mixup (due to core defect) between the template
    parameter and the inner class with the same name.
    Rhapsody should have merged then, but did not - this should
    be fixed.
    A simple work around is to add another template parameter.
    apply. abd delete it. This will force Rhapsody to merger the
    original paramater.
    Fixed by fixing the mixup between the template parameter and
    the inner class with the same name.
    

Problem conclusion

  • Fixed in 8.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI10621

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    805

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-29

  • Closed date

    2014-06-02

  • Last modified date

    2014-06-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R805 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.0.5

Reference #: PI10621

Modified date: 02 June 2014