From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Papadopoulo To: egcs-bugs@cygnus.com Cc: Jose.Gomes@sophia.inria.fr Subject: Annoying bug in g++ current (egcs-2.92.04 19980914) frontend Date: Wed, 16 Sep 1998 09:00:00 -0000 Message-id: <199809161452.QAA11473@mururoa.inria.fr> References: <199809161135.NAA00723@zedo.fuedo.de> X-SW-Source: 1998-09/msg00529.html List-Id: IMHO, the following code should compile... template class B { typedef T Real; }; template class A : B { typedef Real type; }; mururoa->/u/corse/2/robotvis/egcs2.6/bin/g++ test2.C test2.C:9: re-using name of template parameter `Real' in this scope test2.C:7: previously declared here `class Real' It works fine with the 1.1 release. Am I wrong to consider this a bug? Thank's lot, Theo. -------------------------------------------------------------------- Theodore Papadopoulo Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01 --------------------------------------------------------------------