IBM Support

PM59896: Reverse engineer of template dependency is not generated

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • UsePackageForExternals to false before Reverse engineering
    
    The dependency modeled for the forward declaration is not
    generated so this is not a complete work-around.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When generating code after reverse engineering template
    code, the following Check Model error is displayed: Template
    Specialization In Different Place Than Its Template.
    

Problem conclusion

  • If you reverse engineer the code and then generate code, you
    will get code very similar to the requested code. The only
    difference is that template ?bool B? class
    GS_Static_Assert_impl; is out of the namespace (due to RT).
    Now, all you need to do is set the value of
    CPP_CG::Package::DefineNameSpace to True and set the value
    of the property CPP_CG::Package::NameSpaceName to
    GS_Static_Assert_Failed on package 'Externals'. This
    behavior is caused by ambiguous code - the define code
    doesn't specify if the class "GS_Static_Assert_impl" is
    inside the namespace.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM59896

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    760

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-07

  • Closed date

    2012-11-27

  • Last modified date

    2012-11-27

  • 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

  • R760 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 November 2012