IBM Support

PM24683: MISRA19_14 rules reports unexpected violations

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The description of the rule MISRA_19_14 states ?The defined
    preprocessor operator shall only be used in one of the two
    standard forms.?
    Also, the two standard forms which are allowed are as shown in
    the below example:
    
    #if defined d
    #endif
    #if defined ( d )
    #endif
    
    when the MISRA_19_14 is checked for violations against the
    attached code, it reports violations on a blank line.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The description of the rule MISRA_19_14 states ?The defined
    preprocessor operator shall only be used in one of the two
    standard forms.?
    Also, the two standard forms which are allowed are as shown
    in the below example:
    
    #if defined d
    #endif
    #if defined ( d )
    #endif
    
    when the MISRA_19_14 is checked for violations against the
    attached code, it reports violations on a blank line.
    

Problem conclusion

  • Fixed in Rational Logiscope 6.6.3 iFix1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM24683

  • Reported component name

    TLOGIC LOGISCOP

  • Reported component ID

    5724V81LS

  • Reported release

    650

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-18

  • Closed date

    2010-12-02

  • Last modified date

    2010-12-02

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

  • Fixed component ID

    5724V81LS

Applicable component levels

  • R650 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYQHS","label":"Rational Logiscope"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 December 2010