APAR status
Closed as program error.
Error description
Consider the following testcase: $cat test.C namespace std { namespace tr1 { void make_tuple() {} } } $cat m.C namespace std { namespace tr1 { void make_tuple() {} } } int main() { return 55; } Compile as: $xlCb test.C m.C Compiler issues the invalid warning: IEW2480W A711 EXTERNAL SYMBOL make_tuple__Q2_3std3tr1Fv OF TYPE LD WAS ALREADY DEFINED AS A SYMBOL OF TYPE LD IN SECTION $PRIV000010. IEW2482W A712 THE ORIGINAL DEFINITION WAS IN A MODULE IDENTIFIED BY DDNAME /0000001. THE DUPLICATE DEFINITION IS IN SECTION $PRIV000012 IN A MODULE IDENTIFIED BY DDNAME /0000002. FSUM3065 The LINKEDIT step ended with return code 4.
Local fix
Mark the template functions as being inlined.
Problem summary
**************************************************************** * USERS AFFECTED: Users using the standard header file in * * multiple compilation units. * **************************************************************** * PROBLEM DESCRIPTION: Incorrect warning message was emitted * * due to strong definition in standard * * header. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Apply provided service.
Temporary fix
Comments
APAR Information
APAR number
PI06225
Reported component name
ANSI C++ CLASS
Reported component ID
568819807
Reported release
780
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2013-11-14
Closed date
2013-11-15
Last modified date
2013-12-09
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI12693
Modules/Macros
CRTEC128 CRTEC64 CRTE128N CRTHB05D CRTHB074 CRTIB05D CRTIB074
Fix information
Fixed component name
ANSI C++ CLASS
Fixed component ID
568819807
Applicable component levels
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.8","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.8","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
09 December 2013