Re: apply pragma system_header to python headers

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: apply pragma system_header to python headers
Дата
Msg-id e738b5b6-7d1a-941c-6e32-379b2b2112a6@dunslane.net
обсуждение исходный текст
Ответ на apply pragma system_header to python headers  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
On 2023-11-06 Mo 07:02, Peter Eisentraut wrote:
> Analogous to 388e80132c (which was for Perl) but for Python, I propose 
> adding #pragma GCC system_header to plpython.h.  Without it, you get 
> tons of warnings about -Wdeclaration-after-statement, starting with 
> Python 3.12.  (In the past, I have regularly sent feedback to Python 
> to fix their header files, but this is getting old, and we have an 
> easier solution now.)


WFM


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




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

Предыдущее
От: Jeevan Chalke
Дата:
Сообщение: Re: More new SQL/JSON item methods
Следующее
От: Pavel Borisov
Дата:
Сообщение: Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)