Re: Copiling gnome-db 0.1



mike wrote:

> Hi
> I am tryng to compile gnome-db  for my system
> RH7
>
> It bombs out as follows
>
> gnome-db-control-widget.c:363:1: warning: no newline at end of file
> gnome-db-control-widget.c: In function
> `gnome_db_control_widget_supported':
> gnome-db-control-widget.c:138: warning: assignment makes pointer from
> integer without a cast
> gnome-db-control-widget.c:142: warning: passing arg 1 of `strlen' makes
> pointer from integer without a cast
> gnome-db-control-widget.c:142: warning: passing arg 1 of `strlen' makes
> pointer from integer without a cast
> gnome-db-control-widget.c:142: warning: passing arg 1 of `strcmp' makes
> pointer from integer without a cast
> gnome-db-control-widget.c: In function
> `gnome_db_control_widget_set_prop':
> gnome-db-control-widget.c:228: `gfloat' is promoted to `double' when
> passed through `...'
> gnome-db-control-widget.c:228: (so you should pass `double' not `gfloat'
> to `va_arg')
> gnome-db-control-widget.c: In function `gnome_db_control_widget_run':
> gnome-db-control-widget.c:351: warning: `return' with a value, in
> function returning void
> gnome-db-control-widget.c:352: warning: `return' with a value, in
> function returning void
> make[2]: *** [gnome-db-control-widget.lo] Error 1
> make[2]: Leaving directory `/home/mike/gnome-db-0.1.0/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mike/gnome-db-0.1.0'
> make: *** [all-recursive-am] Error 2
>

yes, this is a known problem in the gcc shipped with RH 7.0. You should,
for fixing it, replace the gfloat with gdouble in the line indicated in the
error message (line 228).

I'm going to change it now on CVS, since there have been several people
having the same error.

cheers





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