A fix is available
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 who are 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
PI07450
Reported component name
ANSI C++ CLASS
Reported component ID
568819807
Reported release
790
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2013-12-04
Closed date
2013-12-05
Last modified date
2014-02-05
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI13289
Modules/Macros
CRTEC128 CRTEC64 CRTE128N CRTHB05D CRTHB074 CRTIB05D CRTIB074
Fix information
Fixed component name
ANSI C++ CLASS
Fixed component ID
568819807
Applicable component levels
R790 PSY UI13289
UP14/01/14 P F401
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"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":"790","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":"790","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
05 February 2014