IBM Support

LI77344: EXTRA ; AT END OF NAMESPACE CLOSING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • There's extra ; (semi-colon) at the end of namespace closing in
    the XL C/C++ headers. Such as in header
    /usr/vacpp/include/yvals.h:
    
    
    _STD_END was defined as };.
    
    #define _STD_BEGIN namespace std {
    #define _STD_END };
    
    This style was consistent throughout the headers.
    

Local fix

  • This is not really a defect in programming. The extra ; is
    interpreted as an empty statement. But removing it makes the
    code cleaner.
    

Problem summary

  • PROBLEM DESCRIPTION: Code in runtime headers with std namespace
    ended with redundant semi-colon causing messages from code scan
    tools
    
    USERS AFFECTED: The extra ; is not an error, so only uses of
    code checking tools that report it will be affected.
    

Problem conclusion

  • the extra ; has been removed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77344

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-27

  • Closed date

    2013-04-27

  • Last modified date

    2013-04-27

  • APAR is sysrouted FROM one or more of the following:

    IV35872

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021