public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2867: Koenig lookup bug
@ 2002-05-20 19:14 gdr
0 siblings, 0 replies; 3+ messages in thread
From: gdr @ 2002-05-20 19:14 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gdr, kunert
Synopsis: Koenig lookup bug
State-Changed-From-To: analyzed->closed
State-Changed-By: gdr
State-Changed-When: Mon May 20 19:14:03 2002
State-Changed-Why:
further investigation reveals that it is not a bug. See
note 14.8/6: a template-id used to call a function disables
Koenig lookup since it does not have the correct function
call syntax.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2867
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/2867: Koenig lookup bug
@ 2001-08-11 12:35 gdr
0 siblings, 0 replies; 3+ messages in thread
From: gdr @ 2001-08-11 12:35 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gdr, kunert, nobody
Synopsis: Koenig lookup bug
Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sat Aug 11 12:35:03 2001
Responsible-Changed-Why:
Analyzed.
State-Changed-From-To: open->analyzed
State-Changed-By: gdr
State-Changed-When: Sat Aug 11 12:35:03 2001
State-Changed-Why:
Confirmed as bug.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2867&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/2867: Koenig lookup bug
@ 2001-05-18 6:16 kunert
0 siblings, 0 replies; 3+ messages in thread
From: kunert @ 2001-05-18 6:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 2867
>Category: c++
>Synopsis: Koenig lookup bug
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Fri May 18 06:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Thomas Kunert
>Release: gcc version 3.0 20010517
>Organization:
>Environment:
Configured with: ../gcc/configure i686-pc-linux-gnu --enable-shared --prefix=/opt --enable-languages=c,c++,f77
Thread model: single
>Description:
This code:
namespace N {
class A{};
template<class T>
void f( A ){};
}
int main()
{
N::A a;
f<int>(a);
}
results in the error:
x1.cc: In function `int main()':
x1.cc:10: `f' undeclared (first use this function)
x1.cc:10: parse error before `>' token
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-21 2:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-20 19:14 c++/2867: Koenig lookup bug gdr
-- strict thread matches above, loose matches on Subject: below --
2001-08-11 12:35 gdr
2001-05-18 6:16 kunert
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).