Re: Refactor compile-time assertion checks for C/C++

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Refactor compile-time assertion checks for C/C++
Дата
Msg-id 1880.1584111633@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Refactor compile-time assertion checks for C/C++  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Refactor compile-time assertion checks for C/C++
Список pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> Hmm.  v3 actually broke the C++ fallback of StaticAssertExpr() and
> StaticAssertStmt() (v1 did not), a simple fix being something like
> the attached.

The buildfarm seems happy, so why do you think it's broken?

If we do need to change it, I'd be inclined to just use the do{}
block everywhere, not bothering with the extra #if test.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: make check crashes on POWER8 machine
Следующее
От: Thunder
Дата:
Сообщение: Optimize crash recovery