Re: gtkicq



On Sat, 21 Nov 1998, Spauldo da Hippie Elf wrote:

> On Fri, 20 Nov 1998 freak@sims-ha.videotron.net wrote:
> 
> > Hi,
> > 
> > I'm running Gtk/glib/gnome/orbit and all from CVS, and everything works
> > very well, and I have no problems compiling, except for GtkICQ.
> > 
> > Here's the error message I get while compiling:
> > 
> > In file included from applet.c:7:
> > applet.h:12: parse error before `parse_an_arg'
> > applet.h:12: warning: `struct argp_state' declared inside parameter list
> > applet.h:12: warning: its scope is only this definition or declaration,
> > applet.h:12: warning: which is probably not what you want.
> > applet.h:12: warning: data definition has no type or storage class
> > 
> > And I get alors more messages after that, and also a ton of:
> > applet.c:210: warning: excess elements in struct initializer after
> > `arguments[1]'
> 
> I get the same stuff.  I've found that if I add the following:
> 
> typedef int error_t;

I, for now, simply changed error_t to int in the source, as it only occurs
like two times.
 
> toward the beginning of src/applet.h, then the original parse errors no
> longer occur.  However, you still get most of the other error messages. 
> I think that it's not including something here, or it's not finding
> something that it should.  However, I'm at a loss at what it is.  I
> haven't asked the maintainer of gtkicq yet.

To applet.h, add  #include <argp.h>

Also, in gtkicq.c, use the following line for gnome_init:

      gnome_init( "gtkicq", "0.57", argc, argv );

Unfortunately, this makes it so it no longer parses arguments, but I'm
working on fixing that.  If someone would please tell me how to update the
source on CVS to match MY source, I'll update CVS to 0.57, but I'm not
very knowledgable when it comes to CVS :-(  Sorry.

Sincerely,

Jeremy Wise
jwise@pathwaynet.com
ICQ #4664755




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