public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3073: template member function gives error
@ 2001-06-07  3:46 darren
  0 siblings, 0 replies; 2+ messages in thread
From: darren @ 2001-06-07  3:46 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3073
>Category:       c++
>Synopsis:       template member function gives error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 07 03:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     darren@flyingcolor.com
>Release:        unknown-1.0
>Organization:
>Environment:
gcc version 2.95.2 20000220 (Debian GNU/Linux)
>Description:
A class member function that is a template must appear
before it is used. If it appears after it is used it gives
"Internal compiler error.".

Probably fixed in 3.0 - it compiles at
codesourcery.com's form.
>How-To-Repeat:
g++ -c test2.cpp
Putting run() after process() compiles.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-unknown-content-type-cppfile; name="test2.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test2.cpp"

DQpjbGFzcyBCSVhTZXR7DQppbnQgels0XTsNCnB1YmxpYzoNCnZvaWQgZihCSVhTZXQgJm90aGVy
KXsNCnpbMF09b3RoZXIuelswXTsNCn0NCg0KfTsNCg0KY2xhc3MgVGVzdENhc2Uyew0KcHVibGlj
Og0KQklYU2V0IGEsYjsNCg0KcHVibGljOg0Kdm9pZCBydW4odm9pZCl7DQpCSVhTZXQgeCx5Ow0K
cHJvY2VzcygwLHgseSk7DQp9DQoNCnByb3RlY3RlZDoNCnRlbXBsYXRlPGNsYXNzIEJTPiB2b2lk
IHByb2Nlc3MoY29uc3QgaW50IGQsQlMgJmVuLEJTICZsYil7DQphLmYoZW4pO2IuZihsYik7DQp9
DQoNCn07


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

* Re: c++/3073: template member function gives error
@ 2001-08-11 12:44 gdr
  0 siblings, 0 replies; 2+ messages in thread
From: gdr @ 2001-08-11 12:44 UTC (permalink / raw)
  To: darren, gcc-bugs, gcc-prs, gdr, nobody

Synopsis: template member function gives error

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sat Aug 11 12:44:45 2001
Responsible-Changed-Why:
    Analyzed.
State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Sat Aug 11 12:44:45 2001
State-Changed-Why:
    Fixed in GCC-3.0.1

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3073&database=gcc


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

end of thread, other threads:[~2001-08-11 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-07  3:46 c++/3073: template member function gives error darren
2001-08-11 12:44 gdr

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