[Xapian-devel] Trying to get Search::Xapian perl module to compile on win32

Olly Betts olly at survex.com
Wed Oct 24 17:07:23 BST 2012


On Wed, Oct 24, 2012 at 03:20:21PM +0000, Desmond Daignault wrote:
> ./XS/WritableDatabase.xs(30) : error C2039: 'win32_open' : is not a member of 'Xapian::InMemory'
> ./XS/WritableDatabase.xs(30) : error C2660: 'win32_open' : function does not take 0 arguments
> ./XS/WritableDatabase.xs(50) : warning C4003: not enough actual parameters for macro 'close'
> ./XS/WritableDatabase.xs(50) : error C2039: 'win32_close' : is not a member of 'Xapian::WritableDatabase'

Sounds to me like something is playing macro games along the lines of:

#define open win32_open
#define close win32_close

And that is mangling the method names in our code.

I don't use windows, but I can tell you it isn't anything in Xapian
doing this.

Cheers,
    Olly



More information about the Xapian-devel mailing list