Fixes are available
August 2009 Update for XL C/C++ Advanced Edition for Blue Gene/P, V9.0
May 2010 Update for XL C/C++ Advanced Edition for Blue Gene/P, V9.0
December 2010 Update for XL C/C++ Advanced Edition for Blue Gene/P, V9.0
XL C/C++ Advanced Edition for Blue Gene/P Fix Pack 17 (October 2013 Update) for 9.0
April 2011 Update for XL C/C++ Advanced Edition for Blue Gene/P, V9.0
August 2011 Update for XL C/C++ Advanced Edition for Blue Gene/P, V9.0
April 2012 Update for XL C/C++ Advanced Edition for Blue Gene/P, V9.0
August 2012 Update for XL C/C++ Advanced Edition for Blue Gene/P, V9.0
APAR status
Closed as program error.
Error description
Compiling the following codes: int stat (char __file, int __buf) _Pragma("map(stat, \"stat64\")"); int stat64 (char __file, char __buf); causes unexpected informational message: ... 1506-377 (I) The type "int" of parameter 2 differs from the previous type "char"...
Local fix
Use -qsuppress=1506-377
Problem summary
USERS AFFECTED: Users or pragma map who map a symbol to another with different type. PROBLEM DESCRIPTION: Compiler issues some info messages when symbols being mapped with pragma map do not have the same type.
Problem conclusion
C++ does not check that the types are compatible with pragma map because it is the user's responsiblity to map a symbol to one with the same type. However, because this diagnostic may still be useful for some users, C will do type checking for pragma map only under -qinfo=gen.
Temporary fix
Comments
APAR Information
APAR number
LI74675
Reported component name
XL C/C++ AE BG/
Reported component ID
5799HJE00
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-06-09
Closed date
2009-09-21
Last modified date
2009-09-21
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++ AE BG/
Fixed component ID
5799HJE00
Applicable component levels
R900 PSY
UP
Document Information
Modified date:
17 October 2021