Path: csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Threads across programming languages
Date: Tue, 21 May 2024 21:27:16 -0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <864jaqwjx7.fsf@linuxsc.com>
References: <20240503180102.00002f98@yahoo.com> <20240505123718.00000503@yahoo.com> <20240513150450.00003030@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Wed, 22 May 2024 06:27:16 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ef527a1f0ace8b0bcb46bd1e68f4f6ae"; logging-data="1083171"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185haa+tUgG7atT4u+mQF4EVUYqtwf8goY="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:P9f8o3h6ynB630NzEsuqZ0VzPSM= sha1:AI/OA5rxBq8UgVdq0sCjk+GnUUc=
Xref: csiph.com comp.lang.c:384806
Lawrence D'Oliveiro 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.