IBM Support

PM27639: VxWorks -Compiler warning from Rhapsody generated code

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • setActiveContext' is only partially overridden
    This warning is produced when an Active class contains a part
    which is
    Reactive.  See attached model (Zip password is 'password').
    
    .
    
    Business impact ( BusImpact )
    
    Ignoring compiler warnings is against company software
    development
    guidelines.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    VxWorks diab compiler generates compiler warning for
    Rhapsody auto-generated code ('overloaded virtual function
    "IOxfReactive::setActiveContext" is only partially
    overridden'). This occurs when an Active class contains a
    part that is Reactive.
    

Problem conclusion

  • This appears to be a compiler defect. The IOxfReactive
    interface class contains two setActiveContext virtual
    abstract functions, which are both overridden in the
    OMReactive class. The user-defined reactive class inherits
    from OMReactive and overrides only one of these functions.
    Since another function is already overridden in OMReactive,
    there is no need to override it again in the user-defined
    reactive class. The VxWorks diab compiler seems to be the
    only compiler that issues a warning in this case.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM27639

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    740

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-29

  • Closed date

    2010-12-16

  • Last modified date

    2010-12-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 December 2010