[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Daily freemint kernel builds



On Sat, 2010-01-09 at 20:45 +0100, Helmut Karlowski wrote:
> Am 09.01.2010, 19:19 Uhr, schrieb Alan Hourihane <alanh@fairlite.co.uk>:
> 
> >> > draw_obj.o:draw_obj.o:(.text+0x90a): undefined reference to
> >> > `_obtree_is_menu'
> >> > draw_obj.o:draw_obj.o:(.text+0xe78): undefined reference to
> >> > `_obtree_is_menu'
> 
> I just looked in web-cvs: The wrong DIAGS is outcommented. Here's the part  
> of my patch again (of #if 0 around the whole part ..):

I guess this should really be wrapped in

#ifdef INCLUDE_UNUSED

rather than just commented out.

Alan.

> 
> diff -u orig/draw_obj.c ./draw_obj.c
> --- orig/draw_obj.c	2010-01-09 15:10:07.484375000 +0100
> +++ ./draw_obj.c	2010-01-09 15:10:19.578125000 +0100
> @@ -808,9 +808,9 @@
>   	DIAG((D_objc, wt->owner, "draw_object_tree for %s to %d/%d,%d/%d; %lx +  
> %d depth:%d",
>   		t_owner(wt), x + tree->ob_x, y + tree->ob_y,
>   		tree->ob_width, tree->ob_height, tree, item, depth));
> -	DIAG((D_objc, wt->owner, "  -   (%d)%s%s",
> +	/*DIAG((D_objc, wt->owner, "  -   (%d)%s%s",
>   		wt->is_menu, obtree_is_menu(tree) ? "menu" : "object", wt->zen ? " with  
> zen" : " no zen"));
> -		
> +		*/
> 
> -Helmut