Re: Gtk+-2.0: First attempt



On Fri, 14 Jul 2006 20:05:19 PDT, "William D. Tallman" said:

> --------------
> In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:33,
>                  from /usr/include/gtk-2.0/gdk/gdkcursor.h:5,
>                  from /usr/include/gtk-2.0/gdk/gdk.h:31,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:31,
>                  from gtkhelloworld20.c:1:
> /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:170: error: parse
> error before "G_GNUC_NULL_TERMINATED"

This critter G_GNUC_NULL_TERMINATED is defined in (at least on my system)
in /usr/include/glib-2.0/glib/gmacros.h - so apparently it isn't being
properly #included in the chain starting with gtk/gtk.h.  Does adding
a '#include <glib.h>' before the '#include <gtk/gtk.h>' fix it?

Attachment: pgp40iqpVXagO.pgp
Description: PGP signature



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