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

  • RC10 PSY U858524

       UP C



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

XL C/C++ for AIX
Compiler

Software version:

12.1

Reference #:

IV35872

Modified date:

2013-03-13

Translate my page

Machine Translation

Content navigation