Re: TSearch2 snowball version error - Mailing list pgsql-general

From Teodor Sigaev
Subject Re: TSearch2 snowball version error
Date
Msg-id 43294C20.1030101@sigaev.ru
Whole thread Raw
In response to TSearch2 snowball version error  (William Leite Araújo <william.bh@gmail.com>)
List 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@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

pgsql-general by date:

Previous
From: Bjørn T Johansen
Date:
Subject: Re: Help trying to write my first plpgsql function...
Next
From: Tom Lane
Date:
Subject: Re: ERROR: type "temp_gc" already exists