This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Misleading error message with templated c++ code


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]