This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: detect ambiguous types in using declarations
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Ollie Wild <aaw at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 10 Aug 2007 09:47:06 -0700
- Subject: Re: PATCH: detect ambiguous types in using declarations
- References: <65dd6fd50708062314o5685d03bj99e86998d5d8b16e@mail.gmail.com>
Ollie Wild wrote:
> :ADDPATCH c++:
>
> 2007-08-06 Ollie Wild <aaw@google.com>
>
> * name-lookup.c (do_nonmember_using_decl): Print an error for ambiguous
> type lookups.
> (ambiguous_decl): Construct tree of ambiguous types. Remove extaneous
> function parameter.
> (unqualified_namespace_lookup): Fix ambiguous_decl call.
> (lookup_using_namespace): Fix ambiguous_decl call.
> (qualified_lookup_using_namespace): Fix ambiguous_decl call.
>
> 2007-08-06 Ollie Wild <aaw@google.com>
>
> * g++.dg/lookup/using18.C: New test.
:REVIEWMAIL: OK
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713