IBM Support

PM97299: Using friend class attribute as func argument in another class creates RT parse error

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • index_t? arg);
    };
    
    
    The code generates correctly but will not roundtrip without a
    parser error. For example:
    
    Parsing Summary:
    'C:\Rhapsody8.0.3\workspace\Project\DefaultComponent\DefaultConf
    ig\ClassB.h':LINE
    35 *** index_t is not a member of prefixing class ClassA
    'C:\Rhapsody8.0.3\workspace\Project\DefaultComponent\DefaultConf
    ig\ClassB.cpp':LINE
    22 *** index_t is not a member of prefixing class ClassA
    
    Workaround
    ---------------
    
    Select both classes and round-trip will complete successfully.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Using friend class attribute as func argument in another
    class creates RT parse error
    

Problem conclusion

  • Fixed in 8.0.6
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM97299

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-18

  • Closed date

    2014-02-28

  • Last modified date

    2014-02-28

  • 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

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

Document Information

Modified date:
02 November 2021