IBM Support

PK99023: Rhapsody -Using namespace does not get added for ??usage?? depen dency between packages

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Summary:
    ---------
    Using namespace does not get added for ??usage?? dependency betw
    een packages
    
    Decsription:
    ------------
    Assume package_0 containg class_0 and package_1 containing class
    _1.
    Usage of namespaces is activated.
    
    Whe we draw a usage dependency from class_0 to package_1 we foun
    d in
    the code of class_0.h
    
    //## dependency package_1
    
    using namespace package_1;
    
    That's perfect.
    
    But when we draw the dependency from package_0 to package_1 we d
    on't
    see 'using namespace' in package_0.h
    
    
    
    Code generated for this property should be effective for package
    s as well.
    
    Steps to Reproduce:
    -------------------
    1. Enable properties
    CPP_CG:Package:DefineNameSpace
    CPP_CG:Dependency:UseNameSpace
    2. Create ??usage?? dependency from package1 to package2
    3. Create ??usage?? dependency from class1 to package2
    
    class1's code will have using namespace package2;
    package1's code will not have the using namespace package2; gene
    rated
    
    Include in prolog of the package or use API to check and add cod
    e for the setting
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Rhapsody -Using namespace does not get added for ??usage??
    dependency between packages
    

Problem conclusion

  • Fixed in 7.5.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK99023

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    740

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-10-20

  • Closed date

    2010-12-18

  • Last modified date

    2010-12-18

  • 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

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

Document Information

Modified date:
18 December 2010