Re: Possible explanation for readline configuration problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible explanation for readline configuration problems
Дата
Msg-id 12701.987220352@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Possible explanation for readline configuration problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> ... how could we see reports like this:

> tab-complete.c:734: `filename_completion_function' undeclared (first use in this function)

> when the code makes a point of providing a declaration for
> filename_completion_function if configure didn't see it in the headers?

Never mind ...

I pulled down readline 4.2, and the answer is depressingly clear: the
Readline boys have decided to rename filename_completion_function to
rl_filename_completion_function.  This graphically illustrates the
fundamental bogosity of AC_EGREP_HEADER: it still finds a match,
blithely ignoring the fact that it matched only part of an identifier.

Most of the other compiler warnings that we've been hearing about arise
because the readline headers have been const-ified.  Suppressing these
warnings across both old and new readlines will be a pain in the neck :-(
        regards, tom lane


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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: 7.1-1 RPMset uploading...
Следующее
От: Mark Butler
Дата:
Сообщение: Re: Postmaster fatal defect - False alarm