public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/10118] Conversion of ptrmem to derived class in template arg fails Date: Fri, 05 Sep 2003 18:49:00 -0000 [thread overview] Message-ID: <20030905184944.21108.qmail@sources.redhat.com> (raw) In-Reply-To: <20030317033600.10118.philippeb@videotron.ca> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10118 bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[3.3/3.4 Regression] |Conversion of ptrmem to |Conversion of ptrmem to |derived class in template |derived class in template |arg fails |arg fails | ------- Additional Comments From bangerth at dealii dot org 2003-09-05 18:49 ------- Since this is invalid code, it's no longer a regression. Also, the error message is not a regression. 2.95 gives g/x> c++ -c x.cc x.cc:7: `(&A::foo)' is not a valid template argument x.cc:7: it must be a pointer-to-member of the form `&X::Y' x.cc:7: ANSI C++ forbids declaration `c' with no type That's about as bad as what we now get. The message is clearly suboptimal nevertheless, so let's keep this PR open. W.
next prev parent reply other threads:[~2003-09-05 18:49 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20030317033600.10118.philippeb@videotron.ca> 2003-07-17 0:06 ` [Bug c++/10118] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu 2003-09-05 18:44 ` mmitchel at gcc dot gnu dot org 2003-09-05 18:49 ` bangerth at dealii dot org [this message] 2003-12-05 2:44 ` [Bug c++/10118] Bad diagnostic with cast in template argument expression pinskia at gcc dot gnu dot org 2003-12-05 3:31 ` bangerth at dealii dot org 2004-08-20 6:52 ` pinskia at gcc dot gnu dot org 2004-08-20 7:12 ` gdr at integrable-solutions dot net
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=20030905184944.21108.qmail@sources.redhat.com \ --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).