Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Munro2024-11-27 02:43:18 +0000
committerThomas Munro2024-11-27 03:47:29 +0000
commitf4e8f137bfb08a664c8288824c1e36b5143ac875 (patch)
tree8f6bbcd318b2a66c034b4145b6edab66f699c674 /src
parent320534f8f25bf5aa2de4ad1f561b71219cb4e5ff (diff)
If a C23 compiler is detected, try asking for C17.REL_10_STABLE
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
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions