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

Re: g_printf



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]