public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/17166] Improve diagnostic for empty overload set listing the rejected overloads Date: Thu, 28 Oct 2004 03:58:00 -0000 [thread overview] Message-ID: <20041028035848.21136.qmail@sourceware.org> (raw) In-Reply-To: <20040824124058.17166.guillaume.melquiond@ens-lyon.fr> ------- Additional Comments From giovannibajo at libero dot it 2004-10-28 03:58 ------- No, this is not a substitution failure, but rather a deduction failure. We cannot deduce the enum from the function call because it is not a valid non- type template parameter. What is questionable here is the error message GCC produce. I have been wondering for a while what is the best solution -- to me, it looks like we should always list the overloads we rejects, with a brief motivation of why they got rejected. I guess this would help tremendously. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |giovannibajo at libero dot | |it Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |diagnostic Last reconfirmed|0000-00-00 00:00:00 |2004-10-28 03:58:46 date| | Summary|g++ 3.4.1 and 3.5 forget a |Improve diagnostic for empty |template function definition|overload set listing the | |rejected overloads http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17166
next prev parent reply other threads:[~2004-10-28 3:58 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-08-24 12:41 [Bug c++/17166] New: g++ 3.4.1 and 3.5 forget a template function definition guillaume dot melquiond at ens-lyon dot fr 2004-08-24 12:49 ` [Bug c++/17166] " guillaume dot melquiond at ens-lyon dot fr 2004-08-24 13:33 ` bangerth at dealii dot org 2004-08-24 13:48 ` bangerth at dealii dot org 2004-08-24 14:07 ` reichelt at gcc dot gnu dot org 2004-08-24 14:28 ` guillaume dot melquiond at ens-lyon dot fr 2004-08-24 18:26 ` bangerth at dealii dot org 2004-10-28 3:58 ` giovannibajo at libero dot it [this message] 2005-05-29 16:03 ` [Bug c++/17166] Improve diagnostic for empty overload set listing the rejected overloads pinskia at gcc dot gnu dot org 2005-05-29 16:21 ` pinskia at gcc dot gnu dot org 2005-05-29 20:45 ` pinskia at gcc dot gnu dot org [not found] <bug-17166-7904@http.gcc.gnu.org/bugzilla/> 2005-11-25 8:31 ` guillaume dot melquiond at ens-lyon dot fr [not found] <bug-17166-4@http.gcc.gnu.org/bugzilla/> 2013-06-21 14:49 ` paolo.carlini at oracle dot com
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=20041028035848.21136.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).