On 2024-05-27 08:59, brian.inglis--- via tz wrote:
major distros LTS and stable editions may still be on GCC 11, so patches *depending* on GCC 14 will have to be backed out, or code releases skipped until that support is available.
That shouldn't be a problem, as those compiler options are not used unless the developer specifically asks for them. As far as I know, I'm the only developer who does that, and I do so only with the latest GCC because it's not worth my time porting that stuff to older GCC (or to recent Clang, for that matter). I installed the attached to try to document this better, and also to remove a dependency of 'make check' on 'curl' that I noticed while looking into this. I tested by running 'make check' on Solaris 10 (2005), which is still supported by Oracle and which ships with GCC 3.4.3 (dated 2004) as an installable option. It worked fine, though I had to build as follows because Solaris 10 is so old its default environment does not conform to POSIX by default: make AWK=nawk SHELL=ksh CC='gcc -std=c99' check