TSearch2 snowball version error

Поиск
Список
Период
Сортировка
От William Leite Araújo
Тема TSearch2 snowball version error
Дата
Msg-id bc63ad820509140738363c91a7@mail.gmail.com
обсуждение исходный текст
Ответы Re: TSearch2 snowball version error  (Teodor Sigaev <teodor@sigaev.ru>)
Re: TSearch2 snowball version error  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-general
    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

В списке pgsql-general по дате отправления:

Предыдущее
От: "ngoncalves81@cantv.net"
Дата:
Сообщение: ERROR: cursor 'xxx' does not exist
Следующее
От: "Warren Bell"
Дата:
Сообщение: Re: Speed problems