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

Re: What's wrong with bluefish?



On Mon, 12 Jul 1999, Antti-Juhani Kaijanaho wrote:

> gcc -O2 -Wall -g -I/usr/X11R6/include -I/usr/lib/glib/include -c -o toolbars.o toolbars.c
> In file included from toolbars.c:41: 
> menu.h:86: initializer element for menu_items[60].callback_action' is not computable at load time
> menu.h:88: initializer element for menu_items[61].callback_action' is not computable at load time
> [... lots of this ...]
> 
> To me and to one of the upstream developers the relevant section of code
> seems okay.  Can someone please check this out?

>From a VERY preliminary observation, it looks as though a memory location
is being cast to an int, which will ALWAYS bomb on a 64-bit arch like
Alpha.  FYI, Alpha pointer size = 8 bytes rather than the 4 that an int
takes (32-bit archs like i386 and m68k both have 32-bit memory addresses).

I'll try to remove the casts and see if it works...

C


Reply to: