IBM Support

PM26795: MISRA_8_4 rule reports incorrect violations

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The rule definition states that:
    
    If objects or functions are declared more than once they shall
    have compatible declarations.
    
    However, when MISRA_8_4 is checked for violations in the
    attached source code, we find that the rule reports violations
    for functions that are declared more than once.
    
    Steps to reproduce:
    1) Unzip and load the attached project
    2) Build the project to observe the incorrect violations
    
    Support observations:
    1) we observe that these violations are not reported by
    MISRA_8_4 in Logiscope 6.3
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The rule definition states that:
    
    If objects or functions are declared more than once they
    shall have compatible declarations.
    
    However, when MISRA_8_4 is checked for violations in the
    attached source code, we find that the rule reports
    violations for functions that are declared more than once.
    

Problem conclusion

  • Fixed in Rational Logiscope 6.6.3 iFix1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM26795

  • Reported component name

    TLOGIC LOGISCOP

  • Reported component ID

    5724V81LS

  • Reported release

    660

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-15

  • 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

  • R660 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.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 December 2010