APAR status
Closed as program error.
Error description
The follwing testcase produces the extra warning message struct A { void (*fp)(const char *, ...) __attribute__(( format(printf, 1, 2) )); }; Actual Output: -------------- xlc t2.c -c t2.c:2:49: warning: 1540-2990 The attribute " __attribute__((format(printf, 1, 2)))" is not supported. The attribute is ignored. void (*fp)(const char *, ...) __attribute__(( format(printf, 1, 2) )); ^ 1 warning generated. Expected Output: --------------- NO warnings
Local fix
N/A
Problem summary
USERS AFFECTED: Users with the __format__ attribute applied to class/struct/union data members maybe affected by this issue. PROBLEM DESCRIPTION: The compiler generates a warning messages claiming that 'the attribute is not supported' is generated.
Problem conclusion
The compiler has been fixed.
Temporary fix
Comments
APAR Information
APAR number
LI81402
Reported component name
XL FORTRAN LINU
Reported component ID
5725C7510
Reported release
G11
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-04-30
Closed date
2020-06-23
Last modified date
2020-06-23
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++ LINUX
Fixed component ID
5725C7310
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G11","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
24 June 2020