IBM Support

PM25231: Template parameter types not generated, types not prefixed and file names of child packages incorrect

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If a template class TTT has two template parameters and takes
    the types AAA.my_type and BBB.your_type as its actual
    parameters. When the Ada spec for TTT is generated it does not
    with AAA or BBB.
    
    Neither does it prefix the types with their owning package
    names. This means that the code will not compile. There is also
    a problem with the file names of child packages
    AAA.RiA_Instances.
    
    For the GNAT environment the filenames should be
    AAA-RiA_Instances.ads/adb but they are generated as
    AAA.RiA_Instances.ads/adb. These names are not recognised by
    GNAT.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Template parameter types not generated, types not prefixed
    and file names of child packages incorrect
    

Problem conclusion

  • Fixed in Scorpio
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM25231

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-26

  • 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

  • R751 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 7.5.1

Reference #: PM25231

Modified date: 21 September 2012