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: Mon, 03 Jun 2019 16:37:07 -0700 Organization: None to speak of Lines: 42 Message-ID: References: <475067fe-369c-4246-84a1-05b1a3a0c6be@googlegroups.com> <5dd4672f-a571-40bc-bb1a-c14f6c631eb7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="a9f7c3b5d2b438cdfd64a899e3119473"; logging-data="24832"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cm7H82dYdGqydjMw9uTWs" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:gb1c4uOyQueSUPRK8U8m4mV5Vts= sha1:O25DZg8DrDV0yTvn0+DAsvGaoyE= Xref: csiph.com comp.lang.c:144367 Bart writes: > On 03/06/2019 22:55, Keith Thompson wrote: [...] >> And yet you haven't actually asked me for a link. > > You mean, like: > > BC: > >>>> Do you have a link to that post? I answered that question, telling you that no, I didn't have a link at the time. I had saved several relevant articles. I thought I could generate links by searching Google Groups for the message ids, but that didn't work. In any case, it would have taken some effort, and I didn't want to take the time unless clearly asked me to. Given your ungrateful response now that I've provided the specific references that you (almost) asked for, I wish I hadn't bothered. [...] > Now I try gcc with -std=c11 -pedantic-errors, and I get several > thousands errors for a program that I know works perfectly well. So > that's out. So you don't *want* an option that makes gcc produce all diagnostics required by the C standard. [...] > This is why -pedantic-errors is not fit for purpose. I've also > demonstrated why it can't be made the default. With gcc it seems to be > either all or nothing. It's not fit for *your* purpose. [...] -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */