IBM Support

IV35872: 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

    IV35872

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-24

  • Closed date

    2013-03-12

  • Last modified date

    2013-03-13

Fix information

  • Fixed component name

    XL C/C++ FOR AI

  • Fixed component ID

    5725C7200

Applicable component levels

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

Document Information

Modified date:
01 October 2021