[Pidgin] #16764: Pidgin/finch fails to build against ncurses 6.0 with WINDOW_OPAQUE set to 1

Pidgin trac at pidgin.im
Wed Sep 9 04:31:13 EDT 2015


#16764: Pidgin/finch fails to build against ncurses 6.0 with WINDOW_OPAQUE set to 1
---------------------+--------------------------
 Reporter:  dimstar  |      Owner:  EionRobb
     Type:  defect   |     Status:  new
Milestone:           |  Component:  unclassified
  Version:  2.10.11  |   Keywords:
---------------------+--------------------------
 openSUSE is in progress of updating ncurses to version 6.0 and
 WINDOW_OPAQUE is being set to 1.

 This results in build failures of finch, with this kind of log:


 {{{
 [  868s]   CC       gntws.lo
 [  868s] gntwm.c: In function 'work_around_for_ncurses_bug':
 [  868s] gntwm.c:177:18: error: dereferencing pointer to incomplete type
 'WINDOW {aka struct _win_st}'
 [  868s]    sx = panel->win->_begx;
 [  868s]                   ^
 [  868s] Makefile:738: recipe for target 'gntwm.lo' failed
 }}}


 The issue being, that when WINDOW_OPAQUE is enabled in ncurses, the WINDOW
 struct is not supposed to be accessed directly, but only thruogh accessor
 functions

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


More information about the Tracker mailing list