On Thu, Feb 17, 2011 at 09:46:14PM +0200, Costin Chirvasuta wrote:
> On Thu, Feb 17, 2011 at 9:11 PM, Craig Bakalian
> <craigbakal...@verizon.net> wrote:
> > Hi David and KC,
> >
> > The <glib/gstdio.h> did the trick.  But it is odd behavior.
> >
> > #include <stdio.h> was already in my includes.
> 
> Then g_remove must be a macro for a function in glib/gstdio.h, not stdio.h.

Ah, then I misunderstood which case it is...

To summarise both:

- glib/gstdio.h is not automatically included with glib.h, it must be
  included explicitly (as shown in Synopis in the docs)

- if you include glib/gstdio.h you also have to include stdio.h as
  glib/gstdio.h may not actually declare the prototypes

Yeti

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to