This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unreviewed C++ patch
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "Giovanni Bajo" <giovannibajo at libero dot it>
- Cc: <gcc-patches at gcc dot gnu dot org>, "Jason Merrill" <jason at redhat dot com>, "Mark Mitchell" <mark at codesourcery dot com>
- Date: 06 Jun 2004 06:00:11 +0200
- Subject: Re: Unreviewed C++ patch
- Organization: Integrable Solutions
- References: <1c7901c44b76$814bf740$444e2a97@bagio>
"Giovanni Bajo" <giovannibajo@libero.it> writes:
| Hello,
|
| I posted this patch in April and forgot about it myself after it went
| unreviewed:
|
| [PR7841] Fix invalid name of constructor
| http://gcc.gnu.org/ml/gcc-patches/2004-04/msg01197.html
Since you detect the problem and know about what is going on, the
error message
error: invalid use of argument list for a constructor in a qualified name
is a bit unclear. What about
error: invalid use of constructor 'X<dim>::X' as a template
?
We should also reject the follwoing
X<dim>::X<dim> x;
and
struct A { };
A::A a;
-- Gaby