[Xapian-tickets] [Xapian] #411: PHP bindings fail to build on Windows due to missing tsrm_ls definition

Xapian nobody at xapian.org
Thu Oct 29 09:05:39 GMT 2009


#411: PHP bindings fail to build on Windows due to missing tsrm_ls definition
-------------------------------+--------------------------------------------
 Reporter:  charliejuggler     |       Owner:  olly     
     Type:  defect             |      Status:  new      
 Priority:  normal             |   Milestone:           
Component:  Xapian-bindings    |     Version:  SVN trunk
 Severity:  normal             |   Blockedby:           
 Platform:  Microsoft Windows  |    Blocking:           
-------------------------------+--------------------------------------------
 The matchspy branch fails to compile as follows:

 xapian_wrap.cc(1270) : error C2065: 'tsrm_ls' : undeclared identifier

 (using a xapian_wrap.cc compiled on Linux, as I haven't got a recent SWIG
 here)

 PHP documentation suggests that adding a TSRMLS_FETCH(); call will fix
 this, and it does if I add it to xapian_wrap.cc manually: however I assume
 this should actually be done in php\except.i . Patch attached.

-- 
Ticket URL: <http://trac.xapian.org/ticket/411>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list