This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug57: Internal compiler error
- To: brintel at valgro dot com
- Subject: Re: bug57: Internal compiler error
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sat, 27 May 2000 18:29:07 +0200
- CC: egcs-bugs at egcs dot cygnus dot com, brintel at valgro dot com
- References: <200005182007.PAA25116@valgro.com>
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