IBM Support

PM40813: code not generated for Class in template instantiation, even being in scope

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Description:
    ------------
    A model has two configurations Temp1 and Temp2. Template class
    temp1 has Class A as template parameter and temp2 has
    realization to template class temp1 with value as class B in the
    template instantiation. With Temp2 configuration as active, on
    build throws error 'cannot open include file B.h'.
    
    When using the Temp2 configuration both A and B should be in
    scope as temp1 has A as default and temp2 (through its
    inheritance of temp1) uses B. Neither of them is in scope.
    
    The scope should include class B as well and generate the file.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    code not generated for Class in template instantiation, even
    being in scope
    

Problem conclusion

  • Fixed in Scorpio
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM40813

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    753

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-06

  • Closed date

    2012-09-21

  • Last modified date

    2012-09-21

  • 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

  • R753 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 7.5.3

Reference #: PM40813

Modified date: 21 September 2012