Re: TSearch2 snowball version error

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: william(dot)bh(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: TSearch2 snowball version error
Date: 2005-09-15 10:25:36
Message-ID: 43294C20.1030101@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Snowball changes interfaces, I'll update tsearh2 sources today or tommorow.

William Leite Araújo wrote:
> Hi,
>
> I'm trying compile a new brazilian portuguese dictionary to TSearch2
> contrib, but found the errors:
>
> portuguese_stem.c: In function `r_prelude':
> portuguese_stem.c:481: error: void value not ignored as it ought to be
> portuguese_stem.c:487: error: void value not ignored as it ought to be
> portuguese_stem.c: In function `r_postlude':
> portuguese_stem.c:610: error: void value not ignored as it ought to be
> portuguese_stem.c:616: error: void value not ignored as it ought to be
> portuguese_stem.c: In function `r_standard_suffix':
> portuguese_stem.c:662: error: void value not ignored as it ought to be
> portuguese_stem.c:672: error: void value not ignored as it ought to be
> portuguese_stem.c:682: error: void value not ignored as it ought to be
> portuguese_stem.c:692: error: void value not ignored as it ought to be
> portuguese_stem.c:702: error: void value not ignored as it ought to be
> portuguese_stem.c:715: error: void value not ignored as it ought to be
> portuguese_stem.c:729: error: void value not ignored as it ought to be
> portuguese_stem.c:744: error: void value not ignored as it ought to be
> portuguese_stem.c:760: error: void value not ignored as it ought to be
> portuguese_stem.c:775: error: void value not ignored as it ought to be
> portuguese_stem.c:791: error: void value not ignored as it ought to be
> portuguese_stem.c:806: error: void value not ignored as it ought to be
> portuguese_stem.c:818: error: void value not ignored as it ought to be
> portuguese_stem.c:832: error: void value not ignored as it ought to be
> portuguese_stem.c: In function `r_verb_suffix':
> portuguese_stem.c:856: error: void value not ignored as it ought to be
> portuguese_stem.c: In function `r_residual_suffix':
> portuguese_stem.c:880: error: void value not ignored as it ought to be
> portuguese_stem.c: In function `r_residual_form':
> portuguese_stem.c:902: error: void value not ignored as it ought to be
> portuguese_stem.c:929: error: void value not ignored as it ought to be
> portuguese_stem.c:935: error: void value not ignored as it ought to be
> portuguese_stem.c: In function `portuguese_ISO_8859_1_stem':
> portuguese_stem.c:993: error: void value not ignored as it ought to be
> make: ** [portuguese_stem.o] Erro 1
>
> This after change the included file "header.h", the old
> "../runtime/header.h" is invalid.
> I think that is a version trouble, because the return of functions
> "slice_from_s" and "slice_del" are "int" in current snowball portuguese
> files, but on include files of version 8.0.2 and 8.0.3 of Portgresql the
> return type is "void".
> Help-me, please.
>
> --
> William Leite Araújo

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Neumann 2005-09-15 13:14:10 Strange Bug in exim4 postgresql lookup code or libpq?
Previous Message Bjørn T Johansen 2005-09-15 10:22:34 Re: Help trying to write my first plpgsql function...