http://llvm.org/bugs/show_bug.cgi?id=4717
Summary: Rejects valid c++
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
llvm-gcc rejects
class C {
public:
enum { a = 3};
};
template<class C2>
class C3 : public C2 {
public:
C2::a;
class C4;
};
template<class C2>
class C3<C2>::C4 {
int v[a];
public:
C4(int a2);
};
void f(int a3) {
C3<C>::C4 a4(a3);
}
This was fixed in http://gcc.gnu.org/ml/gcc-cvs/2007-09/msg00616.html, but
unfortunately that patch is GPL3.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs