IBM Support

PM30603: Reverse Engineering broken in Rhapsody when using namespaces.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • local_fcn() {
    printf('Hello, World. \n');
    
    }
    
    If I use reverse engineering to pull this code into the model,
    then modify this line in Rhapsody:
    
        printf('Hello, World. \n');
    to this:
        printf('Hello, World. With an addition from RH\n');
    
    The code will no longer build because Rhapsody generates this
    code:
    void local_fcn() {
    
        printf('Hello, World. With an addition from RH\n');
    
    }
    
    The tfm: is missing. Rhapsody does not understand namespace
    syntax for C++?
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using Rhapsody with VS 2008, code is not generated
    correctly after reverse engineering code that uses
    namespaces.
    

Problem conclusion

  • The reverse engineering issue has been fixed in version
    8.0.2. There is still a problem with generating the code
    afterwards, but for now, you can do a "regenerate code" for
    the file in order to get code that compiles.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM30603

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    753

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-16

  • Closed date

    2013-03-21

  • Last modified date

    2013-03-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

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

Document Information

Modified date:
06 January 2022