The best test cases are these two applications that fail to build, without any change, with error messages pointing to gtk headers.
The attached test case (based on claws-mail, but obviously may or may not be representative of this problem) ftbfs with the same error as reported above in intrepid:
In file included from /usr/include/gtk-2.0/gtk/gtk.h:221, from /usr/include/gtk-2.0/gtk/gtksignal.h:32, from /usr/include/gtk-2.0/gtk/gtkclist.h:34, from testgtk.c:13:
/usr/include/gtk-2.0/gtk/gtkctree.h:110: error: expected specifier-qualifier-list before ‘GtkCList’
/usr/include/gtk-2.0/gtk/gtkctree.h:127: error: expected specifier-qualifier-list before ‘GtkCListClass’
/usr/include/gtk-2.0/gtk/gtkctree.h:149: error: expected specifier-qualifier-list before ‘GtkCListRow’
/usr/include/gtk-2.0/gtk/gtkctree.h:342: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_ctree_node_get_cell_type’
It compiles without any problem in hardy.
In both cases compilation is done with the command:
gcc `pkg-config --cflags --libs "gtk+-2.0 glib-2.0"` -o test testgtk.c
The best test cases are these two applications that fail to build, without any change, with error messages pointing to gtk headers.
The attached test case (based on claws-mail, but obviously may or may not be representative of this problem) ftbfs with the same error as reported above in intrepid:
In file included from /usr/include/ gtk-2.0/ gtk/gtk. h:221,
from /usr/include/ gtk-2.0/ gtk/gtksignal. h:32,
from /usr/include/ gtk-2.0/ gtk/gtkclist. h:34,
from testgtk.c:13: gtk-2.0/ gtk/gtkctree. h:110: error: expected specifier- qualifier- list before ‘GtkCList’ gtk-2.0/ gtk/gtkctree. h:127: error: expected specifier- qualifier- list before ‘GtkCListClass’ gtk-2.0/ gtk/gtkctree. h:149: error: expected specifier- qualifier- list before ‘GtkCListRow’ gtk-2.0/ gtk/gtkctree. h:342: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_ctree_ node_get_ cell_type’
/usr/include/
/usr/include/
/usr/include/
/usr/include/
It compiles without any problem in hardy.
In both cases compilation is done with the command:
gcc `pkg-config --cflags --libs "gtk+-2.0 glib-2.0"` -o test testgtk.c