Path: csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Baby X is bor nagain Date: Sat, 29 Jun 2024 15:43:32 -0700 Organization: None to speak of Lines: 26 Message-ID: <87cynzxtd7.fsf@nosuchdomain.example.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 Injection-Date: Sun, 30 Jun 2024 00:43:32 +0200 (CEST) Injection-Info: dont-email.me; posting-host="bc3e962b409675c7954f5b09442f496d"; logging-data="147912"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19epgihHQyABZchdR3dofJK" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:WMmf2ulcqxuDgfUCjYPG5H1Sq/8= sha1:utFY5Ic2SRoK7uqboY3Cc18WrFg= Xref: csiph.com comp.lang.c:386670 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. If Bart > calls it "jump through a number of hoops" he would at least correct, > but more like understating his case. Bart compared gcc 10 vs. gcc 14. gcc 10 defaults to -std=gnu11 (C11 with gcc extensions). gcc14 defaults to -std=gnu17. There were no major changes between C11 and C17, only technical corrections and clarifications. Any changes in gcc's behavior for bart's test program were the result of decisions by the gcc maintainers, not changes in the C standard. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */