Le dim 16/02/2003 à 10:34, Arjan J. Molenaar a écrit :
> DiaCanvas2 0.9.1
> ================
>
> DiaCanvas2 is a diagramming canvas for GTK+/GNOME.
>
> What's new
> ==========
> o Configure scripts have been updated (thanks to Aurélien Campéas)
> - better checking for GnomePrint
> - should now compile on win32
> o More contrast in handle colors (thanks to Aurélien Campéas).
yep, I feel flattered ;-)
Alas,
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.2
-I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -g -O2 -c diacanvas.c
-MT canvasmodule_la-diacanvas.lo -MD -MP -MF
.deps/canvasmodule_la-diacanvas.TPlo -fPIC -DPIC -o
canvasmodule_la-diacanvas.lo
gen-diacanvas.override: In function
`_wrap_d_ia_ca_nva_si_te_m_on_update':
gen-diacanvas.override:1032: `D_TY_PE_IA_CA_NVA_SI_TE_M' undeclared
(first use in this function)
gen-diacanvas.override:1032: (Each undeclared identifier is reported
only once
gen-diacanvas.override:1032: for each function it appears in.)
gen-diacanvas.override: In function
`_wrap_d_ia_ca_nva_si_te_m_on_get_shape_iter':
gen-diacanvas.override:1039: `D_TY_PE_IA_CA_NVA_SI_TE_M' undeclared
(first use in this function)
[snip]
diacanvas.c: In function `_wrap_dia_canvas_view__get_handle_layer':
diacanvas.c:3127: warning: assignment from incompatible pointer type
make[2]: *** [canvasmodule_la-diacanvas.lo] Erreur 1
make[2]: Leaving directory
`/home/aurelien/devel/diacanvas2-0.9.1/python'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/aurelien/devel/diacanvas2-0.9.1'
make: *** [all] Erreur 2
There is a place in python/diacanvas.c where the {function|args} names
seem horribly mangled :
#line 1029 "gen-diacanvas.override"
static PyObject *
_wrap_d_ia_ca_nva_si_te_m_on_update(PyGObject *self, PyObject *args,
PyObject *kwargs)
{
return pydia_canvas_item_on_update (self, args, kwargs,
D_TY_PE_IA_CA_NVA_SI_TE_M);
}
#line 1346 "diacanvas.c"
and so on...
what did happen ?
Aurélien.