[Xapian-tickets] [Xapian] #776: Fail to build xapian-core/examples/xapian-pos.cc on android.

Xapian nobody at xapian.org
Mon Feb 18 15:58:46 GMT 2019


#776: Fail to build xapian-core/examples/xapian-pos.cc on android.
-----------------------------+--------------------
        Reporter:  mgautier  |      Owner:  olly
            Type:  defect    |     Status:  new
        Priority:  normal    |  Milestone:
       Component:  Examples  |    Version:  1.4.10
        Severity:  normal    |   Keywords:
      Blocked By:            |   Blocking:
Operating System:  other     |
-----------------------------+--------------------
 Template function `to_unsigned_int` use errno but we don't include
 `errno.h`
 On most compiler, the file is included by default but on android (at
 least),
 it is not included and the file doesn't compile.

 The patch (provided) is pretty simple, just include "errno.h".

--
Ticket URL: <https://trac.xapian.org/ticket/776>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list