Re: g_remove



On Thu, Feb 17, 2011 at 09:46:14PM +0200, Costin Chirvasuta wrote:
On Thu, Feb 17, 2011 at 9:11 PM, Craig Bakalian
<craigbakalian 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




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