public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: jacek@idoox.com To: gcc-gnats@gcc.gnu.org Subject: c++/4057: ambiguity of a call not reported Date: Sat, 18 Aug 2001 05:46:00 -0000 [thread overview] Message-ID: <20010818123831.23257.qmail@sourceware.cygnus.com> (raw) >Number: 4057 >Category: c++ >Synopsis: ambiguity of a call not reported >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: accepts-illegal >Submitter-Id: net >Arrival-Date: Sat Aug 18 05:46:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: jacek@idoox.com >Release: current snapshot on the compile web page >Organization: >Environment: >Description: When there are two choices for one call, the compiler complains it's ambiguous. When I added a third choice, the compiler stopped complaining. Try to comment out one of the lines marked as try to comment out. >How-To-Repeat: just try to compile the attached file. It succeeds and that's IMHO wrong. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="ambiguity.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ambiguity.cc" Y2xhc3MgYjsKCmNsYXNzIGEgewpwdWJsaWM6CglhKGImKSB7IDsgfTsgLy8gdHJ5IGNvbW1lbnRp bmcgdGhpcyBvdXQKfTsKCmNsYXNzIGMgewp9OwoKY2xhc3MgYiB7CnB1YmxpYzoKCW9wZXJhdG9y IGEoKSB7IDsgfTsgLy8gdHJ5IGNvbW1lbnRpbmcgdGhpcyBvdXQKCW9wZXJhdG9yIGMoKSB7IDsg fTsgLy8gdHJ5IGNvbW1lbnRpbmcgdGhpcyBvdXQKfTsKCgp2b2lkIGZvbyhhKSB7IDsgfQp2b2lk IGZvbyhjKSB7IDsgfQoKaW50IG1haW4oKQp7CgliIGJhcjsKCWZvbyhiYXIpOyAvLyBpcyBhbWJp Z3VvdXMKCXJldHVybiAwOwp9Cg==
next reply other threads:[~2001-08-18 5:46 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-18 5:46 jacek [this message] 2001-09-04 8:40 nathan 2003-01-03 14:06 Nathanael Nerode 2003-01-04 12:53 paolo
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=20010818123831.23257.qmail@sourceware.cygnus.com \ --to=jacek@idoox.com \ --cc=gcc-gnats@gcc.gnu.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: linkBe 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).