Re: gnome-triggers.c error ?




On Fri, Jan 08, 1999 at 02:24:21AM -0500, mozart@windsor.igs.net wrote:


> I seem to be having a little trouble compiling the latest gnome libraries,
> first time in a while :)  I get this error when it enters the libgnome
> directory...
> 
> gnome-triggers.c: In function `gnome_triggers_add_trigger':
> gnome-triggers.c:231: warning: implicit declaration of function `g_new_a'
> gnome-triggers.c:231: parse error before `gchar'
> gnome-triggers.c:221: warning: `strings' might be used uninitialized in
> this function
> gnome-triggers.c: In function `gnome_triggers_do':
> gnome-triggers.c:335: parse error before `gchar'
> gnome-triggers.c:326: warning: `strings' might be used uninitialized in
> this function
> make: *** [gnome-triggers.lo] Error 1             
> 
> is g_new_a for real ? :)

I had this problem too. I've added 
#define G_HAVE_ALLOCA 1
in config.h and it works. The problem is: WHY wasn't it defined?

-- 
Ciao, Andrea



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