IBM Support

PI80643: BUG IN C++ CODE GENERATION: MIX OF ATTRIBUTTES AND PARAMETER OF A BASE CLASS IN INITIALIZER LIST

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Attribute initialization ="ByInitializer":
    Under some circumstances, the local attributes of a class are
    generated into the parameter list of the base class
    initialization, see attached screenshot of the generated source
    file.
    The files are generated with the attached model file
    Initializertest.
    
    The same model with Rhapsody 8.1.2 generates correct code.
    
    When the attribute initialization is set to "ByAssignment" the
    generated code is correct.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Wrongly recognized "->" sequence as a template end           *
    * character.                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI80643

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-27

  • Closed date

    2017-06-11

  • Last modified date

    2017-06-11

  • 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

  • R820 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 820

Reference #: PI80643

Modified date: 11 June 2017