IBM Support

PM77497: DFT Rhp typedef of structure which has no name is generated before the structure in RE ? CG

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Typedef definition of a structure which has no name is generated
    before the struct in RE ? CG.
    This makes build error occur.
    
    Original structure:
    ----------------------------------------------
    typedef struct{
        int        id;
        char       name[50];
    } TEST_INFO;
    
    TEST_INFO m_testinf;
    ----------------------------------------------
    
    Expected structure:
    ----------------------------------------------
    struct type_0 {
        int id;
        char name[50];
    };
    typedef type_0 TEST_INFO;
    
    TEST_INFO m_testinf;
    ----------------------------------------------
    
    Actual structure:
    ----------------------------------------------
    typedef type_0 TEST_INFO;
    
    struct type_0 {
        int id;
        char name[50];
    };
    
    TEST_INFO m_testinf;
    ----------------------------------------------
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When generating code after reverse engineering, typedef of
    structure with no name is generated in the code before the
    structure itself, resulting in build errors.
    

Problem conclusion

  • Fixed in version 8.0.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM77497

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-20

  • 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

  • R761 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.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
21 March 2013