PM58854: Generated code contains encode/decode functions multiple times resulting in compilation error (From TLOG#69971)

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

  • In the attached file, you can see how the functions which carry
    out the Encode/Decode process in the auto generated code are
    duplicated if two ASN types (file2.asn) are based on a third ASN
    type (file1.asn). This kind of duplication, generates an error
    in compilation time.
    
    In the generated code (Attached FILE2t3asn.c) you  see that the
    below functions are duplicated:
    t3asn_FILE2_trans_asn_to_t3_t3_FILE1NULLType (line 75 and 100)
    
    t3asn_FILE2_trans_t3_to_asn_t3_FILE1NULLType (line 169 and 183)
    
    
    It produces the below mentioned error when you try to do the
    Build it since there are two definitions for each function
    generated.
    Attached is the screenshot -Dibujo.bmp
    
    
          FILE2t3asn.c(103) : error C2084: function 't3rt_value_t
    t3asn_FILE2_trans_asn_to_t3_t3_FILE1NULLType(t3_FILE1NULLType
    *,t3rt_alloc_strategy_t,t3rt_context_t)' already has a body
            FILE2t3asn.c(185) : error C2084: function 'void
    t3asn_FILE2_trans_t3_to_asn_t3_FILE1NULLType(ASNUTIG
    *,t3rt_value_t,t3_FILE1NULLType *,t3rt_context_t)' already has a
    body
    
    Customer think that the problem appears when you import the type
    from File1 (attached project SynonymError.zip).On the other
    hand, the Build process is correctly  executed if the type is
    defined into File2 (attached project SynonymOk.zip)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Generated code contains encode/decode functions multiple
    times resulting in compilation error
    

Problem conclusion

  • fixed in 3.3.0.6
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM58854

  • Reported component name

    TLOGIC TESTER

  • Reported component ID

    5724V70TE

  • Reported release

    330

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-23

  • Closed date

    2012-12-12

  • Last modified date

    2012-12-12

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

  • Fixed component ID

    5724V70TE

Applicable component levels

  • R330 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Systems Tester

Software version:

3.3

Reference #:

PM58854

Modified date:

2012-12-12

Translate my page

Machine Translation

Content navigation