IBM Support

PM38582: Incorrect violations reported by C++ MISRA18_0_1 rule.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The rule description states that ?For any iteration statement
    there shall be no more than one break or goto statement used for
    loop termination.?
    However, we observe that the MISRA18_0_1 rule reports violation
    for the second break statement in the below code snippet:
    
    #include ?iostream?
    #include ?string? -- violation reported
    
    Attached is the project to replicate the behavior.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Incorrect violations reported by C++ MISRA18_0_1 rule for
    c++ library
    

Problem conclusion

  • Fixed in Rational Logiscope 6.6.3 iFix3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM38582

  • Reported component name

    TLOGIC LOGISCOP

  • Reported component ID

    5724V81LS

  • Reported release

    660

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-06

  • Closed date

    2011-06-23

  • Last modified date

    2011-06-23

  • 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:
23 June 2011