Cyril Brulebois <email@example.com> (04/12/2009): > | In file included from /usr/include/gtk-2.0/gtk/gtk.h:228, > | from /usr/include/libglade-2.0/glade/glade-xml.h:26, > | from ../../../goffice/gtk/goffice-gtk.h:23, > | from ../../../goffice/gtk/goffice-gtk.c:22: > | /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype > | In file included from /usr/include/sys/stat.h:107, > | from /usr/include/glib-2.0/glib/gstdio.h:26, > | from ../../../goffice/gtk/goffice-gtk.c:32: > | /usr/include/bits/stat.h:198: error: expected ')' before 'dev' > | /usr/include/bits/stat.h:199: error: expected ')' before 'dev' > | ../../../goffice/gtk/goffice-gtk.c: In function 'cb_parent_mapped': > | ../../../goffice/gtk/goffice-gtk.c:210: warning: ISO C forbids passing argument 6 of 'g_signal_handlers_disconnect_matched' between function pointer and 'void *' > | make: *** [goffice-gtk.lo] Error 1 > > At first glance, it looks like it could be a bug in the headers > since dev_t is declared through sys/types.h, which probably should > be included prior to using it in a prototype. Heya here, it looks like this bug is still present in the latest upload of the kfreebsd headers. Maybe I should just open bugreports against the appropriate package instead of asking on the mailing list, it might help keeping track of possible bugs. And if I'm wrong and headers are fine, bugs could simply be closed? Mraw, KiBi.
Description: Digital signature