Re: XML changes broke assert-enabled vcbuild

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: XML changes broke assert-enabled vcbuild
Дата
Msg-id 200702131723.57106.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: XML changes broke assert-enabled vcbuild  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: XML changes broke assert-enabled vcbuild  (Magnus Hagander <magnus@hagander.net>)
Re: XML changes broke assert-enabled vcbuild  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > From what I can tell, this is because the Assert() puts code (the
> > do {} loop) *before* the declaration of StringInfoData buf, which
> > is not permitted.
>
> This will fail on every ANSI-C compiler, not just vc.  Please fix.

We seem to have very poor coverage of such compilers in the build farm, 
it seems.  Is the vcbuild ready to support a regular build farm run 
yet?

It turns out that gcc warns about it anyway.  Does anyone have some sort 
of clever recipe to catch warnings more easily than by carefully 
reading the make output or manually grepping build log files or 
something?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Marc Munro
Дата:
Сообщение: Re: Reducing likelihood of deadlocks (was referential Integrity and SHARE locks)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Variable length varlena headers redux