PATCH: detect ambiguous types in using declarations
Mark Mitchell
mark@codesourcery.com
Fri Aug 10 16:47:00 GMT 2007
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
More information about the Gcc-patches
mailing list