IBM Support

PM09951: Incorrect code when property CPP_CG:Class:BaseNumberOfInstances is set on template class

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The attached model has  a Template class(class_0) and class_1 as
    a template Instantiation for class_0.But when we have the prope
    rty(CPP_CG:Class:BaseNumberOfInstances) on the Template class th
    e generated code for the macro 'IMPLEMENT_MEMORY_ALLOCATOR' does
     not compile and gives the below error :
    
    C3203: 'class_0': unspecialized class template can't be used as
    a template argument for template parameter 'T',expected a real t
    ype
    and
    
    C2955:'class_0':use of class template requires template argument
     list
    .....
    

Local fix

Problem summary

  • Incorrect code when property
    CPP_CG:Class:BaseNumberOfInstances is set on template class
    

Problem conclusion

  • Fixed in 7.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM09951

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-15

  • Closed date

    2010-06-21

  • Last modified date

    2010-06-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

  • 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:
21 June 2010