[ATTN] GCC and make Maintainers: SUS V5 POSIX 2024 make CC default c17
Jon Turney
jon.turney@dronecode.org.uk
Sun Nov 1 12:12:19 GMT 2026
On 31/10/2026 23:39, Brian Inglis via Cygwin-apps wrote:
> Hi folks.
>
> SUS V5 POSIX 2024, quoted at bottom, shows that POSIX conformant make
> sets the default value for CC = c17, which is not installed in Cygwin.
>
> For POSIX conformance, could we please have c17 installed in upcoming
> releases of gcc-core, assuming there is some method for having it
> defined and installed to support -std=c17 or -std=gnu17 by default.
I don't think that actually exists in gcc.
And while -std=gnu17 would be the actually partially useful one of those
options, it's still pointless, because it's not conformant.
> Could we please also have make updated to default to this setting,
> assuming there are POSIX updates or options available.
Uh, I think this is a really weird request.
What is the benefit of this other than "POSIX conformance"? Is there
anything else in the free software world that does this?
Anyhow, no, let's not locally patch both make and gcc to make this
change. And then change it all again when a future POSIX revision makes
C23 the default...
If you really, seriously, think this is needed, I suggest you raise it
as an issue in GNU make and/or gcc.
More information about the Cygwin-apps
mailing list