bug57: Internal compiler error

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat May 27 09:32:00 GMT 2000


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


More information about the Gcc-bugs mailing list