I am trying to build gtkdatabox 0.9.2.0 for openSUSE. I use openSUSE Build Service which does some final checks after creating a RPM package.
During the build i got some warnings, including those:
[ 108s] gtkdatabox_graph.c: In function 'gtk_databox_graph_delete_gc':
...
[ 108s] gtkdatabox_graph.c:123:16: warning: assignment makes pointer from integer without a cast [enabled by default]
[ 108s] colormap = gdk_gc_get_colormap (graph->priv->gc);
[ 108s] ^
[ 108s] gtkdatabox_graph.c: In function 'gtk_databox_graph_set_color':
[ 108s] gtkdatabox_graph.c:366:16: warning: assignment makes pointer from integer without a cast [enabled by default]
[ 108s] colormap = gdk_gc_get_colormap (graph->priv->gc);
[ 108s] ^
and:
[ 109s] gtkdatabox_markers.c: In function 'gtk_databox_markers_real_create_gc':
...
[ 109s] gtkdatabox_markers.c:164:31: warning: assignment makes pointer from integer without a cast [enabled by default]
[ 109s] markers->priv->label_gc = gdk_gc_new (gtk_databox_get_backing_pixmap (box));
[ 109s] ^
Which are later treated as errors:
[ 125s] E: gtkdatabox 64bit-portability-issue gtkdatabox_graph.c:123, 366
[ 125s] E: gtkdatabox 64bit-portability-issue gtkdatabox_markers.c:164
severe enough to make the build to fail.
2da8948c removed markers code that was causing problems
d0978ace removed warnings for deprecated GDK functions that was causing the remaining problems