Re: g_remove



Hi David and KC,

The <glib/gstdio.h> did the trick.  But it is odd behavior.

#include <stdio.h> was already in my includes.

Craig Bakalian


On Fri, 2011-02-18 at 02:00 +0800, KC wrote:
Try to add include <glib/gstdio.h>

KC

On Fri, Feb 18, 2011 at 1:45 AM, Craig Bakalian
<craigbakalian verizon net> wrote:
Hi,

I have gtk and glib as includes?  Am I missing something?  If there
wasn't the right include, the build would fail, further, the function
wouldn't remove the file.

Craig Bakalian


On Thu, 2011-02-17 at 12:29 +0000, James Morris wrote:
On 17 February 2011 12:27, Craig Bakalian <craigbakalian verizon net> wrote:
Hi,

I am using g_remove to remove some temporary files from the /tmp folder.
It is working as expected.  Yet, gcc is complaining that I am making an
implicit declaration.  What is up with this?

You've not #include-ed the necessary files?


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






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