IBM Support

PM10956: Rhapsody generated code/OXF code generates warnings from gcc

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • notifyToOutPut('....');
    }
    
    }
    
    The 'OMNotifier' row gives a gcc warning:
    
    XXX.cpp:nn: warning: deprecated conversion from string constant
    to
    'char*'
    
    If I check the OMNotifier header it has the row:
    
        static void notifyToOutput(const Rhp_char_pt msg);
    
    and Rhp_char_pt is typedefed to 'char *'
    
    The thing is that gcc interprets const Rhp_char_pt as 'char * co
    nst',
    not as 'const char *'
    
    see
    
    http://gcc.gnu.org/ml/gcc-help/2007-02/msg00077.html
    
    It would be nice if this bug was to be fixed.
    

Local fix

Problem summary

  • Rhapsody generated code/OXF code generates warnings from gcc
    

Problem conclusion

  • Fixed in 7.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM10956

  • 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-26

  • Closed date

    2010-06-11

  • Last modified date

    2010-06-11

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