public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5053: g++ 2.95.3 cannot call non-static template members from template functions.
@ 2001-12-14 1:36 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-12-14 1:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/5053; it has been noted by GNATS.
From: lerdsuwa@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, raabe@kde.org
Cc:
Subject: Re: c++/5053: g++ 2.95.3 cannot call non-static template members from template functions.
Date: 14 Dec 2001 09:29:19 -0000
Synopsis: g++ 2.95.3 cannot call non-static template members from template functions.
State-Changed-From-To: open->suspended
State-Changed-By: lerdsuwa
State-Changed-When: Fri Dec 14 01:29:19 2001
State-Changed-Why:
Confirmed. Will be fixed when the new parser is merged into
gcc.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=5053&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/5053: g++ 2.95.3 cannot call non-static template members from template functions.
@ 2001-12-14 1:29 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-12-14 1:29 UTC (permalink / raw)
To: gcc-bugs, gcc-gnats, gcc-prs, nobody, raabe
Synopsis: g++ 2.95.3 cannot call non-static template members from template functions.
State-Changed-From-To: open->suspended
State-Changed-By: lerdsuwa
State-Changed-When: Fri Dec 14 01:29:19 2001
State-Changed-Why:
Confirmed. Will be fixed when the new parser is merged into
gcc.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=5053&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/5053: g++ 2.95.3 cannot call non-static template members from template functions.
@ 2001-12-09 2:36 raabe
0 siblings, 0 replies; 3+ messages in thread
From: raabe @ 2001-12-09 2:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 5053
>Category: c++
>Synopsis: g++ 2.95.3 cannot call non-static template members from template functions.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Sun Dec 09 02:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Frerich Raabe
>Release: 2.95.3
>Organization:
>Environment:
AMD Duron, SuSE Linux 7.3 Professional, Kernel 2.4.10-4GB, libc 2.2.4, binutils 2.11.90
>Description:
g++ 2.95.3 fails to compile the attached code, displaying the error message
main.cpp: In function `void fooWrapper()':
main.cpp:14: parse error before `>'
>How-To-Repeat:
Compile the attached sourcecode via 'g++ -o main main.cpp'.
>Fix:
I noticed two workarounds for the problem:
a) Making Foo::bar() static and calling 'Foo::bar<T>()' from fooWrapper().
b) Move the code in fooWrapper() into main().
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="main.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="main.cpp"
Y2xhc3MgRm9vCnsKCXB1YmxpYzoKCQl0ZW1wbGF0ZSA8Y2xhc3MgVD4KCQlzdGF0aWMgdm9pZCBi
YXIoKSB7IH0KfTsKCmNsYXNzIER1bW15IHsgfTsKCnRlbXBsYXRlIDxjbGFzcyBUPgp2b2lkIGZv
b1dyYXBwZXIoKQp7CglGb28gZm9vOwoJZm9vLmJhcjxUPigpOwp9CgppbnQgbWFpbigpCnsKCWZv
b1dyYXBwZXI8RHVtbXk+KCk7Cn0K
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-14 9:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-14 1:36 c++/5053: g++ 2.95.3 cannot call non-static template members from template functions lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2001-12-14 1:29 lerdsuwa
2001-12-09 2:36 raabe
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).