On Fri, 07 Jul 2006 13:58:32 +0900, Kwagnseol Ko said: > /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: error: syntax error before 'G_GNUC_NULL_TERMINATED' > /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: warning: data definition has no type or storage class That's defined in /usr/include/glib-2.0/glib/gmacros.h, which should have gotten #included (probably by some other #include. However, looking at your code: > =================================== > #include That should probably be "#include <gtk/gtk.h>" > int main( int argc, > char *argv[] ) What happens if you use this: #include <glib-2.0/glib.h> #include <gtk/gtk.h> so you force the include of glib.h?
Attachment:
pgpFgwOtOZn9c.pgp
Description: PGP signature