IBM Support

PH00530: UNABLE TO COMPILE SUCCESSFULLY WHEN C_CG->TYPE->INOUT IS MODIFIED AS "TYPE* CONST" IN A RHAPSODY IN C MODEL

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • If you have a model in Rhapsody in C with compile setting set to
    cygwin. Further if you modify C_CG->Type->InOut as "type*
    const" for arguments of an operation in the model  with
    instrumentation mode as "Animation". While building the
    model you would observe compile errors like
    
    Simple.c: In function 'op':
    Simple.c:16:100: error: 'constarg' undeclared (first use in this
    function)
     #define C7896N_Simple_op_SERIALIZE
    ARCSA_addAttribute_c(arcsmethod, "arg", ARC_RhpInteger2String(*
    constarg));
    and similar errors.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Unable to compile successfully when C_CG->Type->InOut is     *
    * modified as ⠜$type* const⠝                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • fail to compile successfully animation code  when
    C_CG->Type->InOut is modified as ⠜$type* const⠝ on argument
    work-around: don't use existing type for this argument, instead
    write its type string
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH00530

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-07-16

  • Closed date

    2019-04-29

  • Last modified date

    2019-04-29

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"830","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 April 2019