Internal compiler error 90. Bug report
Thomas Kunert
kunert@physik.tu-dresden.de
Fri Aug 14 07:50:00 GMT 1998
Roberto Viviani wrote:
>
> Object: bug report - typedef-ined types of template classes generate error
> 90 in nested classes
>
> The following code snippet generates the error message 'Internal compiler
> error 90. Please submit a full bug report to etc.':
>
> template<class T> class baseclass {
> public:
> typedef int* iterator;
> };
>
> template<class T> class derived : public baseclass<T> {
> public:
> typedef baseclass<T> base;
> void f(base::iterator i); //this compiles ok
> class internal {
> public:
> void g(base::iterator i); //<- error here
> };
> };
What compiler do you use? For me the error occurs with egcs-1.0.2 and
gcc-2.8.1, but not with the current snapshot.
Seems to be fixed for the upcoming egcs-1.1 .
--
Thomas Kunert
More information about the Gcc-bugs
mailing list