This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2638: GCC hangs when a "no matching function" error should be returned
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/2638: GCC hangs when a "no matching function" error should be returned
- From: Christopher Faylor <cgf at redhat dot com>
- Date: 25 Apr 2001 18:06:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Christopher Faylor <cgf at redhat dot com>
The following reply was made to PR c++/2638; it has been noted by GNATS.
From: Christopher Faylor <cgf@redhat.com>
To: handrews@eecs.tufts.edu
Cc: gcc-gnats@gcc.gnu.org, andand@juno.com
Subject: Re: c++/2638: GCC hangs when a "no matching function" error should be returned
Date: Wed, 25 Apr 2001 14:00:56 -0400
This is a cygwin bug, not a gcc bug.
cgf
On Wed, Apr 25, 2001 at 04:17:42PM -0000, handrews@eecs.tufts.edu wrote:
>
>>Number: 2638
>>Category: c++
>>Synopsis: GCC hangs when a "no matching function" error should be returned
>>Confidential: no
>>Severity: non-critical
>>Priority: medium
>>Responsible: unassigned
>>State: open
>>Class: doc-bug
>>Submitter-Id: net
>>Arrival-Date: Wed Apr 25 09:26:00 PDT 2001
>>Closed-Date:
>>Last-Modified:
>>Originator: Harold G. Andrews II
>>Release: GCC 2.95.3-3
>>Organization:
>>Environment:
>cygwin
>>Description:
>GCC fails to return a "no matching function" error when a class declaration, A, has no method "set", <set> is included, and an attempt to access to A::set() is attempted. Instead, the compiler appears to hang.
>>How-To-Repeat:
>Compile the following code using:
>
>g++ -Wall main.cc
>
>main.cc:
>#include <set>
>
>class A {};
>
>int main(void)
>{
> A a;
> a.set();
>
> return 0;
>}
>>Fix:
>Be careful
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
--
cgf@cygnus.com Red Hat, Inc.
http://sources.redhat.com/ http://www.redhat.com/