Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Abstract Syntax Tree for C programs Date: Tue, 28 May 2019 13:59:50 -0700 Organization: None to speak of Lines: 28 Message-ID: References: <87sgt339na.fsf@bsb.me.uk> <80470a36-78de-417f-bc75-a7966c87b31e@googlegroups.com> <9cbcea67-85a8-4de3-ac01-04922ba5fc74@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="96c016763d4b95fce0489d64fdbdb2d7"; logging-data="9907"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+g0Lcj02ZD4VSwahRzAxFd" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:mX7U5EohzibA8Kvf9R85VoUzhJw= sha1:hYcET4s7VpWFuDpCsMhJHpZJAIM= Xref: csiph.com comp.lang.c:144080 scott@slp53.sl.home (Scott Lurndal) writes: > Keith Thompson writes: >>scott@slp53.sl.home (Scott Lurndal) writes: >>> Keith Thompson writes: >>[...] >>>>I personally would refer for gcc to be more conforming by default. >>> >>> I'd rather not, personally, see that. The vast majority of C and C++ >>> code that we build wouldn't be compilable in strict conforming mode; >>> nor do we have any desire to waste the man-decades it would cost to >>> make it so. >> >>That would be easily addressable by using whatever option is needed to >>enable the desired extensions. > > I suppose; but I would point out the effort required to update two decades > of C and C++ code projects to use the new options would cost a great deal > of time and money that could be better used making forward progress on > the existing projects. [...] Yes, *changing* the default behavior of gcc (or clang, or ...) would cause problems. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */