Re: hi what is the G_GNUC_NULL_TERMINATED?

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

 



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: pgpb0vVr2rYvK.pgp
Description: PGP signature

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux