On Mon, Jul 14, 2003 at 06:21:12AM -0700, C. van Reeuwijk wrote:
> Hi,
>
> When trying to use the swish-e API from a C++ program, I notice that
> the documentation and the implementation disagree on the `const'-ness
> of a number of parameters. In particular, SwishQuery has, according to
> the documentation, the signature
>
> SW_RESULTS SwishQuery(SW_HANDLE, const char *words);
>
> but in swish-e.h the `const' is missing. There are more.
Yes, probably should be const to keep your compiler happy. I build with
gcc --pedantic -Wall, but don't see those errors (not sure why --
probably need a different -W setting). If you can checkout from CVS and
make the changes required to quiet g++ then I'll apply the patches.
Thanks,
--
Bill Moseley
moseley@hank.org
Received on Tue Jul 15 01:37:30 2003