Re: [gnome-db] gnome-db headers and inclusion



> > 
> > 
> > 	gulong *reccount;
> > 	GdaRecordset* rs;
> > 	GdaCommand* cmd;
> > (48)	rs = gda_command_execute (cmd, &reccount, NULL);
> > 
> > but i'm getting the following errer
> > 
> > ofs-messages.c:48: warning: passing arg 2 of `gda_command_execute' from incompatible pointer type
> > ofs-messages.c:48: warning: passing arg 3 of `gda_command_execute' makes integer from pointer without a cast
> > 
> > I'm sure its something stupid i'm doing.
> >
> I think it might be because of some header file not being included. Just
> include gda-client.h, or even better, just gnome-db.h. This should pull
> all the needed headers.

Hrmm I removed everything but gnome-db.h and gnome.h, everything compiles
but i still get those errors :(

Will

-- 
----------------------------------------------- 

"Doh.. STUPID STUPID STUPID"

--an excerpt taken from every developers cvs
  commit message at some point
-----------------------------------------------





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