public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: togawa@acm.org To: gcc-gnats@gcc.gnu.org Subject: c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification' Date: Sun, 01 Apr 2001 00:00:00 -0000 [thread overview] Message-ID: <20010226072114.26931.qmail@sourceware.cygnus.com> (raw) >Number: 2094 >Category: c++ >Synopsis: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification' >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Sun Feb 25 23:26:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Atsushi Togawa >Release: gcc version 3.1 20010225 (experimental) >Organization: >Environment: i686-pc-linux-gnu, RedHat 6.2 >Description: Gcc emits the following error message when I compile the code in the 'How-To-Repeat' section. t.cc:16: sorry, not implemented: use of `ptrmem_cst' in template type unification t.cc: In function `void f()': t.cc:16: warning: unused variable `bar<baz, &baz::the_foo_, baz> i' >How-To-Repeat: Compiling the following code with 'gcc -c <filename>' will repeat the problem. template<typename Element, int Element::*Foo, typename CVElement> struct bar { bar() {} template<typename CVE> bar(const bar<Element, Foo, CVE>& x) {} }; struct baz { int the_foo_; }; void f() { bar<baz, &baz::the_foo_, baz> i = bar<baz, &baz::the_foo_, baz>(); } >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-04-01 0:00 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-04-01 0:00 togawa [this message] 2002-11-20 23:51 Wolfgang Bangerth 2002-11-21 0:06 Gabriel Dos Reis 2002-11-21 0:16 Wolfgang Bangerth
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=20010226072114.26931.qmail@sourceware.cygnus.com \ --to=togawa@acm.org \ --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).