IBM Support

PM33459: MISRAC++ rule not respected: 10-1-2: 'A base class shall only be declared virtual if it is used in side a diamond h

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • MISRAC++ rule not respected: 10-1-2: 'A base class shall only be
    declared virtual if it is used in side a diamond h
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    MISRAC++ rule 10-1-2 not respected by Rhapsody CG: "A base
    class shall only be declared virtual if it is used inside a
    diamond hierarchy.?
    

Problem conclusion

  • To have the "virtual" keyword removed, you must change the
    value of the property
    CPP_CG::Framework::ReactiveBaseAsVirtual to False. This did
    not work previously but has been fixed in version 7.6.0.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM33459

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-23

  • Closed date

    2011-10-21

  • Last modified date

    2011-10-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

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

Document Information

Modified date:
27 October 2021