Re: ./configure argument checking

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: ./configure argument checking
Дата
Msg-id 2352.24.211.165.134.1160701266.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: ./configure argument checking  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: ./configure argument checking  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Bruce Momjian wrote:
> Tom Lane wrote:
>> Bruce Momjian <bruce@momjian.us> writes:
>> > Martijn van Oosterhout wrote:
>> >> IIRC it was made a non-fatal warning somewhere near the end of the
>> >> output, but I'm not sure...
>>
>> > It spits out this line just before it creates its output files:
>> >     *** Option ignored: --with-lkjasdf
>>
>> Of course, since it spits out pages and pages of normally-useless
>> trivia,
>> we've all become conditioned to ignore configure's output as long as it
>> doesn't actually fail :-(
>>
>> Not sure what to do about that --- I doubt that raising this warning to
>> error would be a good idea, seeing how firmly the upstream developers
>> believe it shouldn't even be a warning.  Is there any sort of "quiet
>> mode" possible that would report only warnings?  Would it be a good idea
>> if it were possible?
>
> I think one idea is a "pedantic" mode that fails if an unrecognized
> option is supplied.
>


I do not see any point at all in a special mode. If you know enough to
want to use it you should be able to protect yourself more directly from
needing it, simply by taking care to use correct switches.

Frankly, I'd let sleeping dogs lie, in this case.

cheers

andrew



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

Предыдущее
От: Casey Duncan
Дата:
Сообщение: Re: Hints (Was: Index Tuning Features)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Hints (Was: Index Tuning Features)