]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/name-lookup.c
name-lookup.c (do_nonmember_using_decl): Print an error for ambiguous type lookups.
authorOllie Wild <aaw@google.com>
Fri, 10 Aug 2007 18:12:12 +0000 (18:12 +0000)
committerOllie Wild <aaw@gcc.gnu.org>
Fri, 10 Aug 2007 18:12:12 +0000 (18:12 +0000)
commit19831e2b8b1c4dbf238c9b122d2022ff67046732
treed22743d3e641704b4a17c35b436280d174a920e4
parent68a57691dc5d712bff5c70691dd90c0c670022d0
name-lookup.c (do_nonmember_using_decl): Print an error for ambiguous type lookups.

gcc/cp/
* 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.

gcc/testsuite/
* g++.dg/lookup/using18.C: New test.

From-SVN: r127347
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/using18.C [new file with mode: 0644]
This page took 0.058032 seconds and 5 git commands to generate.