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

    IV40243

  • Reported component name

    XL C/C++ AIX

  • Reported component ID

    5724X1300

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-19

  • Closed date

    2013-04-19

  • Last modified date

    2013-04-23

  • 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++ AIX

  • Fixed component ID

    5724X1300

Applicable component levels

  • RB10 PSN U859089

       UP06/09/13 C



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

XL C/C++ for AIX

Software version:

11.1

Reference #:

IV40243

Modified date:

2013-04-23

Translate my page

Machine Translation

Content navigation