APAR status
Closed as program error.
Error description
Users who make use of the std::__equal_to<int> may run into compile time errors similar to the following: /opt/IBM/openxlC/17.1.1/bin/../include/c++/v1/__algorithm/equal. h:28:10: error: no matching function for call to object of type 'std::__equal_to<int>' if (!__pred(*__first1, *__first2)) ^~~~~~ /opt/IBM/openxlC/17.1.1/bin/../include/c++/v1/__algorithm/equal. h:38:15: note: in instantiation of function template specialization 'std::equal<const volatile int *, int *, std::__equal_to<int>>' requested here return std::equal(__first1, __last1, __first2, __equal_to<__v1, __v2>());
Local fix
N/A
Problem summary
USERS AFFECTED: Users who make use of the std::__equal_to within templates are affected by this issue. PROBLEM DESCRIPTION: The C++ Standard asks for equal_to<void>, which should work with the combination of a const volatile int lvalue and an int lvalue. However, the compiler was not correctly following the above rule.
Problem conclusion
The compiler has been fixed to handle the above scenario.
Temporary fix
Comments
APAR Information
APAR number
IJ46744
Reported component name
XL C/C++ FOR AI
Reported component ID
5725C7200
Reported release
H11
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-05-10
Closed date
2023-05-10
Last modified date
2023-05-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
XL C/C++ FOR AI
Fixed component ID
5725C7200
Applicable component levels
[{"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":"H11","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
11 May 2023