[Xapian-devel] Re: [Xapian-discuss] Fixing issue with PHP5/Windows
Daniel Ménard
Daniel.Menard at bdsp.tm.fr
Thu Apr 5 10:19:46 BST 2007
Olly Betts a écrit :
> Oops, I lost the cast. Make that:
>
> string term = *i;
> const char *p = const_cast<char*>(term.data());
> add_next_index_stringl($result, p, term.length(), 1);
>
I guess you meant "return_value" and not $result...
Anyway, still no luck:
php5\xapian_wrap.cc(11630) : error C2664: 'add_next_index_stringl' :
impossible de convertir le paramètre 2 de 'const char *' en 'char *'
--
Daniel Ménard
More information about the Xapian-devel
mailing list