This is the mail archive of the gcc-bugs@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]

Re: Patch for better diagnostic (was: Re: Bug in MI?)


>>>>> Manfred Hollstein <manfred@s-direktnet.de> writes:

>       if (u == error_mark_node)
> 	error ("  since the following virtual functions are not finally overridden:");
>       else
> 	error ("  since the following virtual functions are abstract:");
>       TREE_PURPOSE (u) = error_mark_node;
>       while (u)
> 	{
> 	  cp_error ("\t%#D", TREE_VALUE (u));
> 	  u = TREE_CHAIN (u);
> 	}

That can't be right; you can't treat error_mark_node like a TREE_LIST.

Jason


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