IBM Support

PI68558: PROBLEM WITH A STEREOTYPE FOR ATTRIBUTE AND ARGUMENT FOR VOLATILE

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • 1:Create a stereotype and apply it to argument and attribute.
    2: Make C_CG property isVolatile on for both attribute and
    argument.
    3: Create a class and add an attribute.
    4: Applied the stereotype for the attribute and generate code.
    
    It is generating the volatile keyword twice as below.
    volatile volatile int attribute_4;
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody users                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In case that [lang]_CG::Argument::IsVolatile is overridden   *
    * on Attribute, it affects the attribute declaration. If       *
    * [lang]_CG::Attribute::IsVolatile is also overridden, the     *
    * "volatile" is printed twice. (his situation possible if      *
    * [lang]_CG::Argument::IsVolatile is set on stereotype that is *
    * applicable to Attribute).                                    *
    * Same for [lang]_CG::Argument::IsRegister.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in Rhapsody 8.2 - The properties
    [lang]_CG::Argument::IsVolatile and
    [lang]_CG::Argument::IsRegister should not affect the attribute
    declaration.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI68558

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    814

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-09-02

  • Closed date

    2016-12-05

  • Last modified date

    2016-12-05

  • 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

  • R814 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.4

Reference #: PI68558

Modified date: 05 December 2016