IBM Support

PK80323: GET OPERATION (GETEND AND GETKEY) FOR RELATIONS is both STATIC and CONST, violates Standards

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • quintus id 221267
    Description:
    
    Create two classes related with an association relation.
    
    Add a qualifier to the relation.
    
    Enable the GetEnd generate by setting the containers as STL.
    
    Set the property CG:Relation:IsConst = NONE and make the
    relation as 'Static'.
    
    The generated code for the GetEnd is static as well as 'const'
    which violates the ANSI-C++ Standard (from 1998) rule.
    A static member function shall not be declared const, volatile,
    or const volatile.
    
    The model fails to build.
    

Local fix

  • No known workarounds
    

Problem summary

  • APAR :PK80323: CG:Relation:IsConst doesn't help to disable
    "const" generation.
    

Problem conclusion

  • Fixed in 7.5.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK80323

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    740

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-10

  • Closed date

    2009-12-02

  • Last modified date

    2009-12-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

  • R740 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
02 December 2009