public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification'
@ 2002-11-20 23:51 Wolfgang Bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Bangerth @ 2002-11-20 23:51 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/2094; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification'
Date: Thu, 14 Nov 2002 14:58:06 -0600

 Confirmed with CVS from 2002-11-10. The present error message is somewhat annoying, since it repeats the same 
 text twice:
 tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -c x.cc
 x.cc:16: sorry, unimplemented: sorry, not implemented: use of `ptrmem_cst' in
    template type unification


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification'
@ 2002-11-21  0:16 Wolfgang Bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Bangerth @ 2002-11-21  0:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/2094; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: Gabriel Dos Reis <gdr@integrable-solutions.net>
Cc: Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu>,
   <gcc-gnats@gcc.gnu.org>
Subject: Re: c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst'
 in template type unification'
Date: Thu, 14 Nov 2002 15:15:46 -0600 (CST)

 > Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu> writes:
 > 
 > |  Confirmed with CVS from 2002-11-10. The present error message is somewhat annoying, since it repeats the same 
 > |  text twice:
 > |  tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -c x.cc
 > |  x.cc:16: sorry, unimplemented: sorry, not implemented: use of `ptrmem_cst' in
 > 
 > I think I have an idea of where that repeatition is coming from.
 > Expect a patch to correct that annoyance in a moment.
 
 Very good, I took a quick look but got lost in the macro jungle too 
 quickly and did not have my laser macro sword (== plenty of free time) 
 with me, so left it to others :-)
 
 Thanks
   Wolfgang
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                                www: http://www.ticam.utexas.edu/~bangerth
 
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification'
@ 2002-11-21  0:06 Gabriel Dos Reis
  0 siblings, 0 replies; 4+ messages in thread
From: Gabriel Dos Reis @ 2002-11-21  0:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/2094; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification'
Date: 14 Nov 2002 22:08:46 +0100

 Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu> writes:
 
 |  Confirmed with CVS from 2002-11-10. The present error message is somewhat annoying, since it repeats the same 
 |  text twice:
 |  tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -c x.cc
 |  x.cc:16: sorry, unimplemented: sorry, not implemented: use of `ptrmem_cst' in
 
 I think I have an idea of where that repeatition is coming from.
 Expect a patch to correct that annoyance in a moment.
 
 -- Gaby


^ permalink raw reply	[flat|nested] 4+ messages in thread

* c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification'
@ 2001-04-01  0:00 togawa
  0 siblings, 0 replies; 4+ messages in thread
From: togawa @ 2001-04-01  0:00 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-14 21:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-20 23:51 c++/2094: gcc3.1 emits 'sorry, not implemented: use of `ptrmem_cst' in template type unification' Wolfgang Bangerth
  -- strict thread matches above, loose matches on Subject: below --
2002-11-21  0:16 Wolfgang Bangerth
2002-11-21  0:06 Gabriel Dos Reis
2001-04-01  0:00 togawa

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).