public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: nathan@gcc.gnu.org To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: c++/353: gcc reports both existence and non existence of constructor of template class.correct error message for legal template code with method pointer Date: Fri, 16 Nov 2001 21:36:00 -0000 [thread overview] Message-ID: <20011121114603.4023.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR c++/353; it has been noted by GNATS. From: nathan@gcc.gnu.org To: brussee@mathematik.uni-bielefeld.de, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/353: gcc reports both existence and non existence of constructor of template class.correct error message for legal template code with method pointer Date: 21 Nov 2001 11:43:20 -0000 Synopsis: gcc reports both existence and non existence of constructor of template class.correct error message for legal template code with method pointer State-Changed-From-To: analyzed->closed State-Changed-By: nathan State-Changed-When: Wed Nov 21 03:43:19 2001 State-Changed-Why: The code is ill-formed. the mainline now reports, incomming/353.ii: In function `void __static_initialization_and_destruction_0(int, int)': incomming/353.ii:15: no matching function for call to `Y<int ()()>::Y(int (X::*)())' incomming/353.ii:7: candidates are: Y<int ()()>::Y(const Y<int ()()>&) incomming/353.ii:11: Y<T>::Y(T X::*) [with T = int ()()] I.e. Y's parameter is a pointer to member of type void function returning int. NOT pointer to member function of type ... http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=353&database=gcc
next reply other threads:[~2001-11-21 11:46 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-11-16 21:36 nathan [this message] 2001-11-16 21:36 nathan
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=20011121114603.4023.qmail@sourceware.cygnus.com \ --to=nathan@gcc.gnu.org \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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).