Fixes are available
August 2005 XL C/C++ Enterprise Edition V7.0 for AIX PTF
June 2008 XL C/C++ Enterprise Edition V7.0 for AIX PTF
April 2006 XL C/C++ Enterprise Edition V7.0 for AIX PTF
July 2007 XL C/C++ Enterprise Edition V7.0 for AIX PTF
May 2005 XL C/C++ Enterprise Edition V7.0 for AIX PTF
February 2007 XL C/C++ Enterprise Edition V7.0 for AIX PTF
November 2005 XL C/C++ Enterprise Edition V7.0 for AIX PTF
October 2006 XL C/C++ Enterprise Edition V7.0 for AIX PTF
January 2010 XL C/C++ Enterprise Edition V7.0 for AIX PTF
January 2006 XL C/C++ Enterprise Edition V7.0 for AIX PTF
August 2006 XL C/C++ Enterprise Edition V7.0 for AIX PTF
December 2007 XL C/C++ Enterprise Edition V7.0 for AIX PTF
October 2008 XL C/C++ Enterprise Edition V7.0 for AIX PTF
Obtain the fix for this APAR.
APAR status
Closed as program error.
Error description
When the compiler checks which version of the function call to use, a warning message is generated on a candidate function. . template <typename T2, bool A2> Array& operator=( const Array<T2,A2>& x ) { return *this; } template<typename T2> Array& operator=( const T2& x ) { return *this; } . The wanring message looks like 1540-724 (W) The non-type template argument "1" of type "bool" has wrapped.
Local fix
Problem summary
same as submitter's text
Problem conclusion
Users Affected: Users of multiple template functions with the same name with non-type template parameters. Problem Description: We were incorrectly generating a warning for a conversion on a non0type template parameters during selection of viable candidates for overload resolution. Workaround: To work around the problem, simply ignore the message as it is a warning and will not prevent successful compilation Expected Errors: "ut1.cpp", line 54.13: 1540-0724 (W) The non-type template argument "1" of type "bool" has wrapped. Problem Conclusion: During selection of viable template candidate functions as part of overload resolution, the compiler may attemp to instantiate a template function with synthesized types to see if it is a viable candidate. Warnings should not be generated until the actual candidate is instantiated with real types.
Temporary fix
Comments
APAR Information
APAR number
IY69299
Reported component name
XL C++ FOR AIX
Reported component ID
5724I1100
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2005-03-18
Closed date
2005-03-28
Last modified date
2007-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
LI70888 LI71001
Fix information
Fixed component name
XL C++ FOR AIX
Fixed component ID
5724I1100
Applicable component levels
R700 PSN U812862
UP07/08/02 I 1000
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
Document Information
Modified date:
20 August 2024