
24 Jan
2005
24 Jan
'05
1:15 a.m.
Daniel James writes:
Here's a simple example of code which triggers this bug:
namespace y1 { struct y2 {}; }
struct x1 { void x2(y1::y2); };
// This line prevents the Internal Compiler Error: // class dummy { void func(); };
template <int N> struct z {};
A somewhat more convenient workaround is this: typedef int int_t; ... template <int_t N> struct z {}; -- Aleksey Gurtovoy MetaCommunications Engineering