This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Misleading error message with templated c++ code
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "Peter A. Felvegi" <petschy at praire-chicken dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 3 Feb 2012 22:18:35 +0000
- Subject: Re: Misleading error message with templated c++ code
- References: <4F2C518C.8010009@praire-chicken.com>
On 3 February 2012 21:28, Peter A. Felvegi wrote:
> on all tested gcc versions (4.4, 4.5, 4.6,4.7). There is definitely a type
> called 'Type' in struct 'Derived'. I'm not sure, the above code might be
> ill-formed, but then I'd like to see a specific error message.
I think the problem is that Derived is incomplete, but please report
it to bugzilla instead of this list so it can be dealt with properly,
thanks.