From: Tom Tromey <tom@tromey.com>
To: Bruno Larsen <blarsen@redhat.com>
Cc: Tom Tromey <tom@tromey.com>,
Bruno Larsen via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH 2/2] gdb/c++: Detect ambiguous variables in imported namespaces
Date: Fri, 11 Nov 2022 09:37:54 -0700 [thread overview]
Message-ID: <87bkpdcuql.fsf@tromey.com> (raw)
In-Reply-To: <eef5e684-008f-309f-baf4-0b11273c7234@redhat.com> (Bruno Larsen's message of "Fri, 11 Nov 2022 16:34:50 +0100")
>>>>> "Bruno" == Bruno Larsen <blarsen@redhat.com> writes:
Bruno> + error (_("reference to \"%s\" is ambiguous"), name);
>> It would be more friendly to users if it printed the full names of the
>> ambiguous symbols... is that possible?
Bruno> Do you mean a message like the one below?
Bruno> reference to "x" is ambiguous, possiblities are M::x and N::x
Yes.
Tom
next prev parent reply other threads:[~2022-11-11 16:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 15:50 [PATCH 0/2] Improve handling of using directives Bruno Larsen
2022-10-26 15:50 ` [PATCH 1/2] gdb/c++: validate 'using' directives based on the current line Bruno Larsen
2022-11-09 17:03 ` Tom Tromey
2022-11-11 14:44 ` Andrew Burgess
2022-10-26 15:50 ` [PATCH 2/2] gdb/c++: Detect ambiguous variables in imported namespaces Bruno Larsen
2022-11-09 17:11 ` Tom Tromey
2022-11-11 15:34 ` Bruno Larsen
2022-11-11 16:37 ` Tom Tromey [this message]
2022-11-11 14:30 ` Andrew Burgess
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkpdcuql.fsf@tromey.com \
--to=tom@tromey.com \
--cc=blarsen@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).