[Spice-devel] Compilation warning over libcspice-client-gtk-3.0
Yaniv Kaul
ykaul at redhat.com
Sun Jan 8 03:00:51 PST 2012
When compiling latest git, just noticed I'm getting (marked two issues,
in bold):
...
CC spice-widget-cairo.lo
CCLD libspice-client-glib-2.0.la
GISCAN SpiceClientGLib-2.0.gir
CCLD libspice-client-gtk-3.0.la
*spice-option.c:52: Warning: SpiceClientGLib: spice_get_option_group:
return value: Invalid non-constant return of bare structure or union;
register as boxed type or (skip)*
GISCAN SpiceClientGtk-3.0.gir
GICOMP SpiceClientGLib-2.0.gir
*Package spice-client-glib-2.0 was not found in the pkg-config search path.
*Perhaps you should add the directory containing `spice-client-glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'spice-client-glib-2.0' found
GICOMP SpiceClientGtk-3.0.gir
make all-recursive
...
CC controller.lo
/home/ykaul/spice-gtk/gtk/controller/controller.vala: In function
'spice_ctrl_controller_listen':
/home/ykaul/spice-gtk/gtk/controller/controller.vala:28:15: warning:
assignment discards 'const' qualifier from pointer target type [enabled
by default]
/home/ykaul/spice-gtk/gtk/controller/controller.vala: In function
'spice_ctrl_controller_listen_co':
/home/ykaul/spice-gtk/gtk/controller/controller.vala:232:17: warning:
assignment discards 'const' qualifier from pointer target type [enabled
by default]
CCLD libspice-controller.la
TIA,
Y.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120108/65cfc5c5/attachment.htm>
More information about the Spice-devel
mailing list