[ATTN] GCC and make Maintainers: SUS V5 POSIX 2024 make CC default c17
ASSI
Stromeko@nexgo.de
Sun Nov 1 11:29:37 GMT 2026
Brian Inglis via Cygwin-apps writes:
> 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.
I've never used these version-wrapped compiler invocations in decades
and I know of nobody who still does.
> 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.
The default for gcc since version 11 is -std=gnu17 already, so
effectively that changes nothing except for the GNU extensions. The
existing c89/c99 wrappers force strict ANSI compliance. I'll add the
c17 wrapper with the same semantics as the existing ones (i.e. strict
compliance, which is useless for just about all sources) for the next
update.
> Could we please also have make updated to default to this setting,
> assuming there are POSIX updates or options available.
The default is CC=cc in normal mode and CC=c99 in .POSIX: mode; which
can't be forced via command line or POSIXLY_CORRECT=1, but requires that
pseudo target in Makefile (so you can't just have a POSIX wrapper). I
have no idea how that is currently handled when compiling GNU make, I
don't think the POSIX standard to target can be configured yet.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
More information about the Cygwin-apps
mailing list