[Pidgin] #16770: Error: implicit declaration of function 'gtk_widget_get_allocated_height'

Pidgin trac at pidgin.im
Thu Sep 17 08:22:44 EDT 2015


#16770: Error: implicit declaration of function 'gtk_widget_get_allocated_height'
--------------------------------+--------------------------
 Reporter:  computergeoffrey@…  |      Owner:  EionRobb
     Type:  defect              |     Status:  new
Milestone:                      |  Component:  unclassified
  Version:  2.10.11             |   Keywords:
--------------------------------+--------------------------
 This is a coding mistake, I think. See also
 http://stackoverflow.com/questions/8440816/warning-implicit-declaration-
 of-function

 While building Pidgin 2:


 make[4]: Entering directory `/home/geoffrey/release-2.x.y/pidgin'
 CC pidginstock.lo
 CC gtkaccount.lo
 CC gtkblist.lo
 CC gtkblist-theme.lo
 CC gtkblist-theme-loader.lo
 CC gtkcellrendererexpander.lo
 CC gtkcertmgr.lo
 CC gtkconn.lo
 CC gtkconv.lo
 gtkconv.c: In function 'resize_webview_cb':
 gtkconv.c:4948:10: warning: assignment from incompatible pointer type
 [enabled by default]
 gtkconv.c:4951:2: warning: passing argument 1 of
 'pidgin_webview_get_DOM_height' from incompatible pointer type [enabled by
 default]
 gtkwebview.h:602:1: note: expected 'struct PidginWebView *' but argument
 is of type 'struct WebKitWebView *'
 gtkconv.c:4962:2: warning: passing argument 1 of
 'pidgin_webview_get_font_size' from incompatible pointer type [enabled by
 default]
 gtkwebview.h:613:1: note: expected 'struct PidginWebView *' but argument
 is of type 'struct WebKitWebView *'
 gtkconv.c:4971:3: error: implicit declaration of function
 'gtk_widget_get_allocated_height' [-Werror=implicit-function-declaration]
 gtkconv.c:4971:3: warning: passing argument 1 of
 'pidgin_webview_get_toolbar' from incompatible pointer type [enabled by
 default]
 gtkwebview.h:672:1: note: expected 'struct PidginWebView *' but argument
 is of type 'struct WebKitWebView *'
 cc1: some warnings being treated as errors
 make[4]: *** [gtkconv.lo] Error 1
 make[4]: Leaving directory `/home/geoffrey/release-2.x.y/pidgin'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/geoffrey/release-2.x.y/pidgin'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/home/geoffrey/release-2.x.y/pidgin'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/geoffrey/release-2.x.y'
 make: *** [all] Error 2

--
Ticket URL: <https://developer.pidgin.im/ticket/16770>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list