Re: troubles porting from ubuntu to debian. [??]



On Mon, Jan 02, 2012 at 12:15:45PM -0800, Gary Kline wrote:
main.c:157: warning: implicit declaration of function ÃÂÂchdirÃÂÂ
main.c:362: warning: implicit declaration of function ÃÂÂsleepÃÂÂ

Declared in unistd.h.  Forgot to include it?

main.c: In function ÃÂÂinc_button_click_cbÃÂÂ:
main.c:242: warning: implicit declaration of function
ÃÂÂgtk_widget_is_sensitiveÃÂÂ
...
Here is the code that has gtk_widget_is_sensitive().  i gave up on
this after a couple hours [last night].

gtk_widget_is_sensitive() appeared in Gtk+ 2.18.

Use devhelp or look at the on-line reference documentation to see when a
specific symbol appeared.

Use gtkdoc-depscan to scan your source code for functions that are
available only since a specific Gtk+ version.

Use GTK_WIDGET_IS_SENSITIVE() for compatibility with older Gtk+.

Yeti




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