pgsql: If a C23 compiler is detected, try asking for C17.
В списке pgsql-committers по дате отправления:
| От | Thomas Munro |
|---|---|
| Тема | pgsql: If a C23 compiler is detected, try asking for C17. |
| Дата | |
| Msg-id | E1tG8sH-003hVo-SD@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
If a C23 compiler is detected, try asking for C17. Branches before 16 can't be compiled with a C23 compiler (see deprecation warnings silenced by commit f9a56e72, and non-back-patchable changes made in 16 by commit 1c27d16e). Test __STDC_VERSION__, and if it's above C17 then try appending -std=gnu17. The test is done with the user's CFLAGS, so an acceptable language version can also be configured manually that way. This is done in branches 15 and older, back to 9.2, per policy of keeping them buildable with modern tools. Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3f302f0ed06f69c5ebd33d4df95895323a3cbef6 Modified Files -------------- configure | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 20 ++++++++++++++++ 2 files changed, 97 insertions(+)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера