From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jody Goldberg To: egcs@cygnus.com Cc: Jody Goldberg Subject: c++ regression since 980502 breaks stl_hashtable.h Date: Tue, 12 May 1998 09:49:00 -0000 Message-id: <19980512105914.A16704@sanwafp.com> X-SW-Source: 1998-05/msg00407.html -------------------------------------------------------------- template struct A { }; template struct B { typedef A A; void f() { } }; template void foobar(A& ht1) { } -------------------------------------------------------------- The above code is a simplified version of stl_hashtable.h that has been broken in the last several releases. The compiler produces : ] c++ -c z.C z.C:12: non-template type `A' used as a template z.C:13: warning: ANSI C++ forbids declaration `ht1' with no type