[Xapian-tickets] [Xapian] #820: mingw build failure with Windows header

Xapian nobody at xapian.org
Wed Nov 9 18:52:15 GMT 2022


#820: mingw build failure with Windows header
---------------------------+--------------------------------------
 Reporter:  Ralf Habacker  |             Owner:  Olly Betts
     Type:  defect         |            Status:  new
 Priority:  normal         |         Milestone:
Component:  Other          |           Version:  1.4.21
 Severity:  normal         |        Resolution:
 Keywords:                 |        Blocked By:
 Blocking:                 |  Operating System:  Microsoft Windows
---------------------------+--------------------------------------
Comment (by Olly Betts):

 Thanks for the patch, but this problem was addressed years ago (2018) by
 f527b61a65f259ce68b11ef9d89a959f5cf62a12 which was in xapian-core 1.4.8 -
 since then the `typedef uint8_t byte;` line isn't present in
 `common/internaltypes.h` (or anywhere else).

 It looks to me like your bug reporter must have been using xapian-core
 1.4.7 or earlier to get this error.

 The use of `using namespace std;` has been cleaned up on git master.  I'm
 reluctant to apply such changes to 1.4.x as they touch a lot of code and
 it's hard to be certain they won't introduce bugs.
-- 
Ticket URL: <https://trac.xapian.org/ticket/820#comment:1>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list