Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] compiling error on windows in gtk/stats_tree_stat.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Fri, 25 Feb 2005 22:56:07 +0100
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