Fixes are available
APAR status
Closed as program error.
Error description
The C++ program fails to compile with C++ compiler with the following error message: $xlC -c t.cpp "t.cpp", line 17.10: 1540-0217 (S) "f" is not a member of "class B". Test program: $cat t.cpp ///// start of t.cpp ///// template <class T> class A { void f() { } class B; }; template <> class A<int>::B { static void g(A<int> &a) { a.f(); } }; ///// end of t.cpp //////
Local fix
N/A
Problem summary
This is a name lookup problem with a member class of a class template referencing the name of its containing template
Problem conclusion
The name lookup problem has been resolved
Temporary fix
Comments
APAR Information
APAR number
IV09297
Reported component name
XLC C++ AIX
Reported component ID
5724S7100
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-10-17
Closed date
2011-11-24
Last modified date
2011-11-24
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
XLC C++ AIX
Fixed component ID
5724S7100
Applicable component levels
[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0"}]
Document Information
Modified date:
01 October 2021