This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Typename Fix
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Typename Fix
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at dptmaths dot ens-cachan dot fr>
- Date: Sun, 16 Nov 1997 03:23:23 +0100 (MET)
- Cc: egcs-bugs at cygnus dot com
- References: <199711160110.RAA26423@supernova.earthlink.net>
>>>>> «Mark», Mark Mitchell <mmitchell@usa.net> wrote:
[...]
Mark> --
Mark> Mark Mitchell mmitchell@usa.net
Mark> Stanford University http://www.stanford.edu
Mark> Sat Nov 15 17:06:55 1997 Mark Mitchell <mmitchell@usa.net>
Mark> * cp-tree.h (lookup_field_and_base): New function.
Mark> * decl.c (lookup_name_real): Call lookup_field_and_base instead of
Mark> lookup_field.
Mark> * parse.y (nonnested_type): Lookup for inherited typedefs in
Mark> template classes.
Mark> * search.c (lookup_field): Call lookup_field_and_base.
Mark> (lookup_field_and_base): New function.
Mark> (dfs_walk): When doing pushdecls, don't recurse into template base
Mark> classes, since they might later be specialized.
Jason,
according to Mark's pacth it seems that the "bug" i reported a while ago
(on 4th of October, Subject: "typedef, class template and inheritance")
was actually a bug in egcs, or did the Standard change that point
on the last vote ?
Best,
-- Gaby
Gabriel Dos Reis | École Normale Supérieure de Cachan
INRIA, Unité de Recherche de | Centre de Mathématiques et de Leurs
Sophia Antipolis | Applications
Projet SAFIR | Équipe de Géométrie