RE: Proposal: Add more compile-time asserts to exposeinconsistencies.

Поиск
Список
Период
Сортировка
Искать
От
Smith, Peter
Тема
RE: Proposal: Add more compile-time asserts to exposeinconsistencies.
Дата
Msg-id
201DD0641B056142AC8C6645EC1B5F62014B961D89@SYD1217
Ответ на
Список
Дерево обсуждения
Proposal: Add more compile-time asserts to expose inconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to expose inconsistencies. ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Andres Freund <andres@anarazel.de>
Re: Proposal: Add more compile-time asserts to expose inconsistencies. Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Add more compile-time asserts to expose inconsistencies. Andres Freund <andres@anarazel.de>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Proposal: Add more compile-time asserts to expose inconsistencies. Andres Freund <andres@anarazel.de>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Andres Freund <andres@anarazel.de>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Andres Freund <andres@anarazel.de>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Andres Freund <andres@anarazel.de>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Andres Freund <andres@anarazel.de>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Michael Paquier <michael@paquier.xyz>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Andres Freund <andres@anarazel.de>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: Proposal: Add more compile-time asserts to exposeinconsistencies. Andres Freund <andres@anarazel.de>
RE: Proposal: Add more compile-time asserts to exposeinconsistencies. "Smith, Peter" <peters@fast.au.fujitsu.com>
From: Andres Freund  Sent: Sunday, 27 October 2019 12:03 PM

>>Ideally, the implementation should end up calling _Static_assert() 
>>somehow, so that we get the compiler's native error message.

OK. I can work on that.

>>We could do a configure check for whether _Static_assert() works at 
>>file scope.  I don't know what the support for that is, but it seems to 
>>work in gcc and clang

> I think it should work everywhere that has static assert. So we should need a separate configure check.

Er, that's a typo right? I think you meant: "So we *shouldn't* need a separate configure check"

Kind Regards
---
Peter Smith
Fujitsu Australia
В списке pgsql-hackers по дате отправления
От: Dilip Kumar
Дата:
От: Andres Freund
Дата:
FAQ