Re: unable to compile gnome-db-0.1.0



Ramsés Morales wrote:

> Hi.
>
> I compiled lib-gda, but got errors with gnome-db. I'm using RH 7.0, but
> my whole GNOME environment is compiled from tarballs.
>
> In file included from /usr/local/include/IIOP/IIOP.h:9,
>                  from /usr/local/include/orb/orbit_object.h:33,
>                  from /usr/local/include/orb/orbit_object_type.h:31,
>                  from /usr/local/include/orb/corba_context.h:4,
>                  from /usr/local/include/orb/orbit_types.h:78,
>                  from /usr/local/include/orb/orb.h:29,
>                  from /usr/local/include/gda/gda-common.h:29,
>                  from gnome-db-control-widget.c:20:
> /usr/local/include/IIOP/iiop-encoders.h:17:31: warning: pasting would
> not give a valid preprocessing token
> /usr/local/include/IIOP/iiop-encoders.h:18:35: warning: pasting would
> not give a valid preprocessing token
> /usr/local/include/IIOP/iiop-encoders.h:19:33: warning: pasting would
> not give a valid preprocessing token
> /usr/local/include/IIOP/iiop-encoders.h:20:28: warning: pasting would
> not give a valid preprocessing token
> /usr/local/include/IIOP/iiop-encoders.h:23:23: warning: pasting would
> not give a valid preprocessing token
> In file included from gnome-db-control-widget.c:20:
> /usr/local/include/gda/gda-common.h:43:6: warning: no newline at end of
> file
> gnome-db-control-widget.c:110:40: warning: pasting would not give a
> valid preprocessing token
> 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[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
>

it's strange this, but I had the same warnings/errors the other day
compiling on RH 7. Well, never mind about the warnings, but the error
you're getting is solved by substituting (in
gnome-db-control-widget.c:228), gfloat with gdouble.

cheers





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