This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7468: prototype "doesn't match" a candidate that is actually a perfect match.
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 2 Aug 2002 09:06:03 -0000
- Subject: Re: c++/7468: prototype "doesn't match" a candidate that is actually a perfect match.
- Reply-to: Gabriel Dos Reis <gdr at integrable-solutions dot net>
The following reply was made to PR c++/7468; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: carlo@alinoe.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/7468: prototype "doesn't match" a candidate that is actually a perfect match.
Date: 02 Aug 2002 10:55:41 +0200
carlo@alinoe.com writes:
[...]
| Note that the error goes away
| when either
| 1) the template is removed
| 2) the static const is removed and '4' is put directly in the typedef
| 3) the typedef is replaced by a more normal typedef
| 4) the (foo_t*) is replaced with (foo_t)
|
| Very peculiar bug.
Indeed. This bug is actually a duplicate of old PRs (I don't have the
id off hand but I do know it is there since :-). I'll close yours and
mention the previous entry. OK?
-- Gaby