c++/7468: prototype "doesn't match" a candidate that is actually a perfect match.

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Aug 2 02:06:00 GMT 2002


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



More information about the Gcc-prs mailing list