A fix is available
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
LI75708
Reported component name
XL C/C++ AE BG/
Reported component ID
5799HJH00
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-09-13
Closed date
2010-09-13
Last modified date
2010-09-13
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
5799HJH00
Applicable component levels
R900 PSN LI74675
UP06/09/13
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
15 October 2021