IBM Support

PM02903: Definition of an event's constructor should not be in the templa te class' header file.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • trig1_class_1_Event() {
    setId(trig1_class_1_Event_id);
    }
    
    This implementation, which is not parameterized, should not be h
    ere: if two different dependants of class_1 include this file cl
    ass_1.h, they create two implementations of the same operation (
    constructor of class trig1_class_1_Event). If we try to link suc
    h system, linker exits with an error, which is correct.In older
    versions of Rhapsody,sa v71, code generation for class_1 contain
    ed two files, specification and implementation. The constructor
    for event was placed in the implementation file (class_1.cpp), w
    hich was correct.
    
    So Rhapsody should either generate the constructor of the event
    in the .cpp file or should have an option to make the constructo
    r alone inline.
    

Local fix

Problem summary

  • Definition of an event's constructor should not be in the
    template class' header file.
    

Problem conclusion

  • Fixed in 7.5.1.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM02903

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-12-07

  • Closed date

    2010-03-23

  • Last modified date

    2010-03-23

  • 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

  • R750 PSN

       UP

[{"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.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
23 March 2010