mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Branches before 16 can't be compiled with a C23 compiler (see deprecation warnings silenced by commitf9a56e72, and non-back-patchable changes made in 16 by commit1c27d16e). 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
594 KiB
Executable File
594 KiB
Executable File