IBM Support

PM32182: Surplus forward declarations and includes are generated when for class dependency in code centric mode.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Several forward declarations and includes are generated for the
    dependent class(header and cpp files) when there is directed
    association between 2 classes and DMCA=None in code centric
    mode.
    
    See attached document
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In code-centric mode, when there is a directed association,
    redundant forward declarations and #includes are generated.
    

Problem conclusion

  • In version 7.5.3.1, support has been added for two new
    properties: CG::Class::GenerateImplicitDependencies and
    CG::Package::GenerateImplicitDependencies. These properties
    should be added to site.prp with a value of True. For
    classes where redundant code is generated, the value of the
    property should be changed to False. Any required
    dependencies should then be added explicitly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM32182

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    752

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-08

  • Closed date

    2011-04-10

  • Last modified date

    2011-04-10

  • 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

  • R752 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.5.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
10 April 2011