public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7019: erroneous failure to compile
@ 2002-07-03 13:19 abrahams
0 siblings, 0 replies; 4+ messages in thread
From: abrahams @ 2002-07-03 13:19 UTC (permalink / raw)
To: david.abrahams, gcc-bugs, gcc-prs, nobody
Synopsis: erroneous failure to compile
State-Changed-From-To: closed->open
State-Changed-By: abrahams
State-Changed-When: Wed Jul 3 13:19:20 2002
State-Changed-Why:
It's not a mistake. See 14.8.2/2. A type deduction failure is not an error; it just causes the function not to be considered for overload resolution
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7019
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/7019: erroneous failure to compile
@ 2002-09-14 14:56 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-09-14 14:56 UTC (permalink / raw)
To: david.abrahams, gcc-bugs, gcc-prs, nobody
Synopsis: erroneous failure to compile
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sat Sep 14 14:56:41 2002
State-Changed-Why:
confirmed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7019
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/7019: erroneous failure to compile
@ 2002-07-03 12:50 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-07-03 12:50 UTC (permalink / raw)
To: david.abrahams, gcc-bugs, gcc-prs, nobody
Synopsis: erroneous failure to compile
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Wed Jul 3 12:49:59 2002
State-Changed-Why:
not a bug. You are attempting to form int::member
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7019
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/7019: erroneous failure to compile
@ 2002-06-13 8:36 david.abrahams
0 siblings, 0 replies; 4+ messages in thread
From: david.abrahams @ 2002-06-13 8:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 7019
>Category: c++
>Synopsis: erroneous failure to compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 13 08:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: david.abrahams@rcn.com
>Release: gcc-3.1
>Organization:
>Environment:
Cygwin
>Description:
compile the code below
>How-To-Repeat:
template <class T, int (T::*)> struct foo;
template <class T>
int f(foo<T,&T::ob_type>*);
template <class T>
char* f(...);
struct X { int ob_type; };
struct Y { char* ob_type; };
int x = f<X>(0);
char* y = f<Y>(0);
char* z = f<int>(0);
int main() { return 0; }
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-09-14 21:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-03 13:19 c++/7019: erroneous failure to compile abrahams
-- strict thread matches above, loose matches on Subject: below --
2002-09-14 14:56 nathan
2002-07-03 12:50 nathan
2002-06-13 8:36 david.abrahams
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).