Re: BUG #7816: test for compiler output produces bogus results

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7816: test for compiler output produces bogus results
Дата
Msg-id 9064.1358744570@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #7816: test for compiler output produces bogus results  (seebs@seebs.net)
Ответы Re: BUG #7816: test for compiler output produces bogus results  (Seebs <seebs@seebs.net>)
Список pgsql-bugs
seebs@seebs.net writes:
> Your modified acx_pthread.m4 tests for any compiler output to stderr at all,
> and considers it evidence that a flag is invalid.

I believe the reason we do that is that we want to find flags that will
not result in the compiler generating a warning during each and every
source compile.  Most developers would consider such a behavior broken,
and not without good reason.

> This test is not actually correct, although it usually works.

[ shrug... ]  Given the lack of previous complaints, it works 99.999%
of the time, which is about as much reliability as can be hoped for in
most autoconf tests :-(.  I'm afraid we can't help you without breaking
it worse for a larger number of other people.

            regards, tom lane

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #7809: Running pg_dump on slave w/ streaming replication fails if there are unlogged tables
Следующее
От: emesika@redhat.com
Дата:
Сообщение: BUG #7817: psql does not relate to footer settings in extended mode