IBM Support

PM82852: Auto Generated inequality operators return int

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Problem Details
    
    .
    
    Product or Service: Rational Software Architect - Realtime 8.0.X
    
    Component ID: 5724G4701
    
    .
    
    Operating System: Windows (Microsoft)
    
    .
    
    Problem title
    
    RSART- Auto Generated inequality operators return int
    
    .
    
    Problem description
    
    Auto generated inequality operators return an int instead of the
    
    expected bool. Probably broken for equality operators also.
    
      int operator!= (const T ?) const
    
        vs
    
      bool operator!= (const T ?) const
    
    .
    
    Business impact ( BusImpact )
    
    Incorrect transformation logic.  Requires us to manually create
    our own
    for proper syntax.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Generated inequality operators return int instead of bool.
    

Problem conclusion

  • Transformations now generates 'bool' return type for
    auto-generated equality and inequality operators.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM82852

  • Reported component name

    RSA REALTIME

  • Reported component ID

    5724G4701

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-14

  • Closed date

    2013-06-14

  • Last modified date

    2013-06-17

  • 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

    RSA REALTIME

  • Fixed component ID

    5724G4701

Applicable component levels

  • R804 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS5JSH","label":"Rational Software Architect RealTime Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.4","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 June 2013