Re: Baby X is bor nagain

Liste des GroupesRevenir à cl c  
Sujet : Re: Baby X is bor nagain
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.lang.c
Date : 30. Jun 2024, 10:23:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v5r85n$f24s$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
On 29/06/2024 20:49, Michael S wrote:
On Sat, 29 Jun 2024 19:42:01 +0200
David Brown <david.brown@hesbynett.no> 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. If Bart
calls it "jump through a number of hoops" he would at least correct,
but more like understating his case.
 
That would be the wrong hoops to jump through.  Don't use the default standard unless you are writing a little hello world program and don't care about the choice of standard - /specify/ the standard you want. And that one is a very, very simple jump.
But as Keith said, this change was not about C standards.  It was about gcc developers changing the balance between being stricter about defaults to reduce future programmers' mistakes, and being lax about defaults to allow older and poorer code to compile without error messages.

Date Sujet#  Auteur
28 Jun 24 * Re: Baby X is bor nagain20Kaz Kylheku
29 Jun 24 `* Re: Baby X is bor nagain19bart
29 Jun 24  +* Re: Baby X is bor nagain10Tim Rentsch
29 Jun 24  i`* Re: Baby X is bor nagain9bart
29 Jun 24  i +* Re: Baby X is bor nagain5David Brown
29 Jun 24  i i`* Re: Baby X is bor nagain4Michael S
29 Jun 24  i i +- Re: Baby X is bor nagain1Keith Thompson
30 Jun 24  i i +- Re: Baby X is bor nagain1Tim Rentsch
30 Jun 24  i i `- Re: Baby X is bor nagain1David Brown
30 Jun 24  i +* Re: Baby X is bor nagain2Kaz Kylheku
3 Jul 24  i i`- Re: Baby X is bor nagain1James Kuyper
30 Jun 24  i `- Re: Baby X is bor nagain1Tim Rentsch
29 Jun 24  +* Re: Baby X is bor nagain7Richard Harnden
29 Jun 24  i`* Re: Baby X is bor nagain6bart
30 Jun 24  i `* Re: Baby X is bor nagain5Michael S
30 Jun 24  i  `* Re: Baby X is bor nagain4David Brown
30 Jun 24  i   `* Re: Baby X is bor nagain3Michael S
30 Jun 24  i    +- Re: Baby X is bor nagain1David Brown
9 Jul 24  i    `- Re: Baby X is bor nagain1Tim Rentsch
30 Jun 24  `- Re: Baby X is bor nagain1Keith Thompson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal