Sujet : Re: Threads across programming languages
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.cDate : 22. May 2024, 05:27:16
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <864jaqwjx7.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Mon, 13 May 2024 16:52:36 +0200, Bonita Montero wrote:
>
If you target a certain platform relying on the compiler is the least
problem.
>
GCC is the closest we have to a de-facto-standard compiler, too.
Perhaps true but not in its default mode. gcc -std=c99 -pedantic
is very close to being standard C99, and similarly for -std=C90
and -std=C11 (in both cases with -pedantic). But gcc by itself,
without any options and especially without -pedantic, is nowhere
close to being a standard C compiler, de facto or otherwise.