Re: g_printf
- From: Charles Schmidt <cschmidt2 emich edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: g_printf
- Date: Tue, 13 Jul 2004 21:05:24 -0400
On Tue, 2004-07-13 at 20:39, Russell Shaw wrote:
Hi,
When i compile a simple gtk 2.4.3 program, i get an error:
main.c: In function `on_destroy':
main.c:14: warning: implicit declaration of function `g_printf'
gcc -ggdb -Wall -O0 `pkg-config --libs gtk+-2.0 glib-2.0` main.o gtkled.o -lm
-o panel
(4 of 5): warning: implicit declaration of function `g_printf'
In main.c, i have:
#include<glib.h>
#include<gtk/gtk.h>
#include<gtk/gtksignal.h>
cat /usr/include/glib-2.0/glib.h shows there's no gprintf.h:
You're probably looking for g_print()
-charlie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]