Misleading error message with templated c++ code

Jonathan Wakely jwakely.gcc@gmail.com
Fri Feb 3 22:18:00 GMT 2012


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.



More information about the Gcc mailing list