apply pragma system_header to python headers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема apply pragma system_header to python headers
Дата
Msg-id ae523163-6d2a-4b81-a875-832e48dec502@eisentraut.org
обсуждение исходный текст
Ответы Re: apply pragma system_header to python headers
Re: apply pragma system_header to python headers
Список pgsql-hackers
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.)
Вложения

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