public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3541: address of template functions in namespaces can't be taken
@ 2001-07-03 6:36 Arne.Adams
0 siblings, 0 replies; 2+ messages in thread
From: Arne.Adams @ 2001-07-03 6:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 3541
>Category: c++
>Synopsis: address of template functions in namespaces can't be taken
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 03 06:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Arne Adams Emanuel Geibel Str. 8 65185 Wiesbaden Germany
>Release: 2.95.3 20010315 (SuSE)
>Organization:
>Environment:
SUSE Linux 7.2
>Description:
class C{};
namespace n {template <class T1> inline void templFun(T1 t){}};
int main(void)
{
typedef void (*FunP)(C);
FunP fuP = &n::templFun<C>;
}
/*
gives internal compiler error 373
*/
>How-To-Repeat:
see description
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/3541: address of template functions in namespaces can't be taken
@ 2001-07-07 6:24 lerdsuwa
0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2001-07-07 6:24 UTC (permalink / raw)
To: Arne.Adams, gcc-bugs, gcc-prs, nobody
Synopsis: address of template functions in namespaces can't be taken
State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Jul 7 06:24:19 2001
State-Changed-Why:
Fixed in GCC 3.0.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3541&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-07 6:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-03 6:36 c++/3541: address of template functions in namespaces can't be taken Arne.Adams
2001-07-07 6:24 lerdsuwa
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).