gtkitemfactory.h Compile Warning



I am getting this compile warning when I compile my app against GTK
2.0.  I haven't tried it with 2.2 yet.  Is this a known issue or am I
doing something wrong or is this just caused by one of my compiler
flags?  Is this just GCC telling me that () can't be used to mean
unspecified arguments?

Line 90 of gtk.h is just "#include <gtk/itemfactory.h>.  Line 51 of
gtkitemfactory.h is:

typedef void    (*GtkItemFactoryCallback)  ();


cc -g `pkg-config --cflags gtk+-2.0` `curl-config --cflags` -pipe -Wall
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Winline -Wcast-align -Wcast-qual -Wchar-subscripts
-Winline -Wnested-externs -Wmissing-declarations  -I.
-I/usr/include/libxml2 -c -o ae_gtk.o ae_gtk.c

In file included from /usr/include/gtk-2.0/gtk/gtk.h:90,
                 from ae_gtk.h:4,
                 from ae_gtk.c:1:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:51: warning: function
declaration isn't a prototype









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]