public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5476: Bug with template
@ 2002-01-24  0:06 m.duflot
  0 siblings, 0 replies; 4+ messages in thread
From: m.duflot @ 2002-01-24  0:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5476
>Category:       c++
>Synopsis:       Bug with template
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 24 00:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Marc Duflot
>Release:        g++ 3.0.3
>Organization:
>Environment:
Suse Linux 7.3
>Description:
% g++ -c test.C
test.C:23: prototype for `void ML<Pb>::foo(typename GI<ML<Pb>::nsd>::IP&)' does not match any in class `ML<Pb>'
test.C:19: candidate is: void ML<Pb>::foo(typename GI<ML<Pb>::nsd>::IP&)
test.C:23: template definition of non-template `void ML<Pb>::foo(typename GI<ML<Pb>::nsd>::IP&)'
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="test.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.C"

dGVtcGxhdGUgPGludCBuc2Q+CmNsYXNzIEVsIHsKcHVibGljOgogICBlbnVtIHsgbnNkXz1uc2R9
Owp9OwoKdGVtcGxhdGUgPGludCBuc2Q+CmNsYXNzIEdJIHsKcHVibGljIDoKICAgY2xhc3MgSVAg
e2RvdWJsZSB4IFtuc2RdO307Cn07Cgp0ZW1wbGF0ZSA8Y2xhc3MgUGI+CmNsYXNzIE1MIHsKICAg
c3RhdGljIGNvbnN0IGludCBuc2QgPSBQYjo6bnNkXzsKICAgdHlwZWRlZiBHSTxuc2Q+IFRHSTsK
ICAgdHlwZWRlZiB0eXBlbmFtZSBUR0k6OklQIFRJUDsKIHB1YmxpYzoKICAgdm9pZCBmb28gKGNv
bnN0IHR5cGVuYW1lIEdJPG5zZD46OklQJiBpcCk7CiB9OwogCnRlbXBsYXRlIDxjbGFzcyBQYj4K
dm9pZCBNTDxQYj46OmZvbyAoY29uc3QgdHlwZW5hbWUgR0k8bnNkPjo6SVAmIGlwKSB7fQo=


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

* Re: c++/5476: Bug with template
@ 2003-01-22 20:24 bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-01-22 20:24 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, m.duflot, nobody

Synopsis: Bug with template

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Wed Jan 22 20:24:47 2003
State-Changed-Why:
    Yet another instance of c++/38.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5476


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

* Re: c++/5476: Bug with template
@ 2002-10-27 16:56 Reichelt
  0 siblings, 0 replies; 4+ messages in thread
From: Reichelt @ 2002-10-27 16:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, m.duflot@ulg.ac.be, gcc-bugs@gcc.gnu.org,
        nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/5476: Bug with template
Date: Mon, 28 Oct 2002 03:45:43 +0200

 Hi,
 
 the bug can be reproduced with the following smaller testcase:
 
 ----------------------------snip here--------------------------------
 template <int> struct A {};
 
 template <typename T> struct C
 {
    static const int i=0;
    void foo (const A<i>&);
 };
 
 template <typename T> void C<T>::foo (const A<i>&) {}
 ----------------------------snip here--------------------------------
                                       
 Greetings,
 Volker Reichelt
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5476
 
 


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

* Re: c++/5476: Bug with template
@ 2002-05-19  4:55 lerdsuwa
  0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2002-05-19  4:55 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, m.duflot, nobody

Synopsis: Bug with template

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun May 19 04:55:16 2002
State-Changed-Why:
    Confirmed.  Still present in 3.1 branch, main trunk.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5476


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

end of thread, other threads:[~2003-01-22 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-24  0:06 c++/5476: Bug with template m.duflot
2002-05-19  4:55 lerdsuwa
2002-10-27 16:56 Reichelt
2003-01-22 20:24 bangerth

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