[Xapian-tickets] [Xapian] #404: Error compiling Perl binding from xapian-bindings

Xapian nobody at xapian.org
Sun Sep 20 10:09:18 BST 2009

#404: Error compiling Perl binding from xapian-bindings
 Reporter:  dmichelsen      |       Owner:  olly    
     Type:  defect          |      Status:  assigned
 Priority:  normal          |   Milestone:  1.1.3   
Component:  Search::Xapian  |     Version:  1.0.11  
 Severity:  major           |    Keywords:          
Blockedby:                  |    Platform:  Solaris 
 Blocking:                  |  
Changes (by olly):

  * status:  new => assigned
  * milestone:  => 1.1.3


 The problem is really in the Perl headers - essentially they do this (or
 with int instead of char) unless __GNUG__ is defined:

 #define bool char

 Really that would be better done for any modern C++ compiler, but that's
 not a totally safe change for them if they want to support older pre-
 standard compilers which didn't have bool.

 Anyway, we can define HAS_BOOL to stop this being done in the Perl
 headers.  Can you try the attached patch?

Ticket URL: <http://trac.xapian.org/ticket/404#comment:2>
Xapian <http://xapian.org/>

More information about the Xapian-tickets mailing list