[MacPorts] #38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay'

MacPorts noreply at macports.org
Thu Feb 28 09:46:57 PST 2013


#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type
'struct _XDisplay'
------------------------+--------------------------------
  Reporter:  aronnax@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:
      Port:  tktable    |
------------------------+--------------------------------

Comment (by aronnax@…):

 Oops, sorry. I forgot to paste the error message. Here it is:

 {{{

 ./generic/tkTable.c:3809:5: error: incomplete definition of type 'struct
 _XDisplay'
     XSync(tablePtr->display, False);
     ^     ~~~~~~~~~~~~~~~~~
 ./generic/tkTable.h:75:39: note: expanded from macro 'XSync'
 #       define XSync(display, bool) {display->request++;}
                                             ^
 /opt/local/include/X11/Xlib.h:263:8: note: forward declaration of 'struct
 _XDisplay'
 struct _XDisplay;               /* Forward declare before use for C++ */
        ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/38238#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list