I do not understand the reason of the GTK2 compile error. I have
temporarily disabled the gtk2 version of the tree until I figure out
what's up with it.
In the meanwhile it would be useful to know what
"Ung³ltige Verwendung dieses Typs als Ausdruck" means exactly.
On Fri, 25 Feb 2005 22:56:07 +0100, Lars Roland <lars.roland@xxxxxxx> wrote:
> Hello Luis,
>
> I just added some functions from /epan/stats_tree.c to libethereal.def. This will fix the linker error
> on windows, which broke the last build-bot builds.
>
> However, now I get new errors in gtk/stats_tree_stat.c when compiling with GTK 2.
> Could you have a look at them?
>
> With GTK 1.3 I get:
> stats_tree_stat.c(164) : warning C4133: 'function' : Inkompatible Typen - von 'struct GtkText *' zu 'struct _GtkText *'
> stats_tree_stat.c(165) : warning C4133: 'function' : Inkompatible Typen - von 'struct GtkText *' zu 'struct _GtkText *'
> stats_tree_stat.c(166) : warning C4133: 'function' : Inkompatible Typen - von 'struct GtkText *' zu 'struct _GtkText *'
> stats_tree_stat.c(166) : warning C4133: 'function' : Inkompatible Typen - von 'struct GtkText *' zu 'struct _GtkText *'
> stats_tree_stat.c(167) : warning C4133: 'function' : Inkompatible Typen - von 'struct GtkText *' zu 'struct _GtkText *'
> stats_tree_stat.c(169) : warning C4133: 'function' : Inkompatible Typen - von 'struct GtkText *' zu 'struct _GtkText *'
> stats_tree_stat.c(284) : warning C4133: '=' : Inkompatible Typen - von 'struct _GtkWidget *' zu 'struct GtkText *'
> stats_tree_stat.c(285) : warning C4133: 'function' : Inkompatible Typen - von 'struct GtkText *' zu 'struct _GtkText *'
> stats_tree_stat.c(286) : warning C4133: 'function' : Inkompatible Typen - von 'struct GtkText *' zu 'struct _GtkWidget *'
>
> With GTK 2.x I get:
> stats_tree_stat.c(96) : error C2275: "GtkTreeIter" : Ung³ltige Verwendung dieses Typs als Ausdruck
> C:\ethereal-win32-libs\gtk2\include\gtk-2.0\gtk/gtktreemodel.h(39) : Siehe Deklaration von 'GtkTreeIter'
> stats_tree_stat.c(96) : error C2065: 'parent' : nichtdeklarierter Bezeichner
> stats_tree_stat.c(99) : warning C4047: '=' : Anzahl der Dereferenzierungen bei 'int ' und 'struct _GtkTreeIter *' unterschiedlich
> stats_tree_stat.c(104) : warning C4047: 'function' : Anzahl der Dereferenzierungen bei 'struct _GtkTreeIter *' und 'int ' unterschiedlich
> stats_tree_stat.c(104) : warning C4024: 'gtk_tree_store_append' : Unterschiedliche Typen f³r formalen und uebergebenen Parameter 3
>
> Regards,
> Lars
>