Path: csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Baby X is bor nagain
Date: Sun, 30 Jun 2024 01:43:20 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <86h6daddnb.fsf@linuxsc.com>
References: <20240625113616.000075e0@yahoo.com> <87ed8jnbmf.fsf@bsb.me.uk> <20240627201830.854@kylheku.com> <20240628032211.403@kylheku.com> <86le2ndajg.fsf@linuxsc.com> <20240629214944.00002cc4@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sun, 30 Jun 2024 10:43:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f8122076af5546f7640a872624b0271f"; logging-data="470565"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YiLgc2yoaoVtT/oF5JpldvlRDTMYVeuc="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:lJQl5GrMBkam4WECLW38QVQH7dM= sha1:JbcAyi5ekWNV4+ODFroMr8/SN0M=
Xref: csiph.com comp.lang.c:386673
Michael S writes:
> On Sat, 29 Jun 2024 19:42:01 +0200
> David Brown wrote:
>
>> gcc, however, is restricted and limited by its past - the developers
>> do not lightly make changes that will result in compilation failures
>> of code that previously compiled fine and had been tested to run
>> correctly. Such changes - as made for gcc 14 - are only done after
>> long discussion and long testing with existing code bases.
>
> Default input dialect of C language was changed (it seems, to gnu17)
> before gcc14. May be, in gcc12.
> BTW, finding out what dialect is a defaul is less than trivial.
I think it isn't hard to find out what variation of the C language
gcc takes in its default mode.
More importantly though, one should always give an explicit -std=
option, and specify which version of the language is desired.
Anything less is just asking for trouble.