PM57243: Incorrect violations reported by MISRA_0_1_4

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • MISRA_0_1_4 states that 'A project shall not contain
    non-volatile POD variables having only one use. '
    
    From the description of the MISRA0_1_4 rule i understand that
    every defined variable shall be used.
    If a variable is only initialized and not used in the code, it
    is considered as not used and not as used only one time.
    
    
    When the MISRA_0_1_4 rule is checked for violations for the
    attached code, it reports violations on statements where class
    defined in namespaces. Attached is the project for reference.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the MISRA_0_1_4 rule is checked for violations for the
    attached code, it reports violations on statements where
    class defined in namespaces.
    

Problem conclusion

  • Fixed in fixpack 6.6.4
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM57243

  • Reported component name

    TLOGIC LOGISCOP

  • Reported component ID

    5724V81LS

  • Reported release

    650

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-02

  • Closed date

    2012-07-10

  • Last modified date

    2012-07-10

  • 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



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Logiscope

Software version:

6.5

Reference #:

PM57243

Modified date:

2012-07-10

Translate my page

Machine Translation

Content navigation