[Xapian-tickets] [Xapian] #832: Compiling xapian with meson. Strange error in tests.

Xapian nobody at xapian.org
Sun Jul 28 06:23:14 BST 2024


#832: Compiling xapian with meson. Strange error in tests.
--------------------------+-------------------------------
 Reporter:  mgautier      |             Owner:  Olly Betts
     Type:  task          |            Status:  new
 Priority:  normal        |         Milestone:
Component:  Build system  |           Version:
 Severity:  normal        |        Resolution:
 Keywords:                |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+-------------------------------
Comment (by Olly Betts):

 The destructor of `Compactor` looks OK to me - as you say the destructor
 is defined within the library where `Compactor::Internal` is visible, so I
 don't see any undefined behaviour.

 > Anyway, I have patched `visibility.h` to define
 `XAPIAN_VISIBILITY_DEFAULT` to `__deplcspec(dllexport)` on msvc.

 I've seen suggestions to use the same set of macros for both like this out
 on the web, but I don't think the semantics of GCC's symbol visibility and
 MSVC's `__declspec` for DLLs are identical so I'm dubious it'll just work.
-- 
Ticket URL: <https://trac.xapian.org/ticket/832#comment:8>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list