Path: csiph.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: New and improved version of cdecl Date: Fri, 31 Oct 2025 17:14:42 -0700 Organization: None to speak of Lines: 22 Message-ID: <877bwa6231.fsf@example.invalid> References: <87bjlyobts.fsf@example.invalid> <10dl0g9$3venf$1@dont-email.me> <10dmk77$egg1$1@dont-email.me> <10dnprf$qmrg$1@dont-email.me> <10dnsm7$rjo7$1@dont-email.me> <10do23k$u17l$1@dont-email.me> <10dpa4q$1ghgu$1@dont-email.me> <10dq8lr$1tm90$1@dont-email.me> <87zf9azo0m.fsf@example.invalid> <10drip8$2gm7h$1@dont-email.me> <10dteds$30cp7$2@dont-email.me> <10du0gt$37r02$1@dont-email.me> <10du6ic$39mk9$1@dont-email.me> <10dubtm$3bcua$1@dont-email.me> <10dvdrr$3jh71$1@dont-email.me> <10dvkek$3lk42$1@dont-email.me> <10dvuqk$3oop2$1@dont-email.me> <10e08fa$3rtue$1@dont-email.me> <10e0n7t$1d1v$1@dont-email.me> <20251030172415.416@kylheku.com> <10e3hcj$rndf$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sat, 01 Nov 2025 00:14:43 +0000 (UTC) Injection-Info: dont-email.me; posting-host="16acd51b0cd5c36f46c9713f3803752b"; logging-data="916560"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WkBaVd5B4MjsI3SB1MwoQ" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:4FH8AiBbXFLOIh7jqLv9OSpXtNc= sha1:NJdt3qBGPg4mhsSI7NxxpxJTnco= Xref: csiph.com comp.lang.c:395021 bart writes: [...] > And as for diagnostics, it seems that you have actively know about > them and explicitly enable checking for them. It "seems"? Yes. Most C compilers, and gcc in particular, are not fully conforming by default, and do not produce all the diagnostics required by the ISO C standard. Most C compilers have options that tell them to attempt to do so. For gcc or clang, you can use "-std=c17 -pedantic". Replace "c17" by whatever edition of the standard hou prefer to use. Replace "-pedantic" by "-pedantic-errors" if you want fatal diagnostics. Replace "-pedantic" by "-Wpedantic" if you're fond of the letter 'W'. I've been telling you this for well over a decade, and it still only "seems" to be the case? How does that work? -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */