APAR status
Closed as new function.
Error description
There is currently no implementation for abs(long) functions in <cstdlib>, but abs(long) is defined in the C++ Standard.
Local fix
Use <cmath> without <cstdlib>
Problem summary
abs(long) was not defined in the library implementation.
Problem conclusion
In order to use abs(long), the macro __ABS_LONG__ must be defined if using stdlib.h instead of cstdlib, or if stdlib.h occurs before cstdlib in the include path.
Temporary fix
Comments
APAR Information
APAR number
IY68511
Reported component name
VA C++ PROF FOR
Reported component ID
5765F5600
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2005-02-28
Closed date
2005-04-18
Last modified date
2005-04-18
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
VA C++ PROF FOR
Fixed component ID
5765F5600
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSO198","label":"IBM Visualage C++ Professional for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
20 August 2024