This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bug57: Internal compiler error


Thanks for your bug report. gcc-2.95.2 says

a.cc: In method `B<T>::B(T, T)':
a.cc:18: class `B<T>' does not have any field named `A'
a.cc: In method `T B<T>::first()':
a.cc:19: use of class template `template <class T1, class T2> A<T1,T2>' as expression
a.cc:19: parse error before `::'
a.cc: In method `B<int>::B(int, int)':
a.cc:24:   instantiated from here
a.cc:18: no matching function for call to `A<int,int>::A ()'
a.cc:13: candidates are: A<int,int>::A(int, int)
a.cc:14:                 A<int,int>::A(const A<int,int> &)

so the bug appears to be fixed.

Regards,
Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]