Re: [RFC PATCH 00/15] config.sub bug fixes

2024-07-28 Thread Dmitry V. Levin
On Mon, Jun 03, 2024 at 03:28:29PM -0400, Zack Weinberg wrote: > I applied a coverage analyzer to config.sub trying to find all the > code paths that currently aren't being tested. (Did you know there > are coverage analyzers for shell scripts? I was halfway expecting > it to be impossible!) > >

Re: [PATCH v2 1/4] config.guess: Avoid implicit int in definitions of main.

2024-07-28 Thread Dmitry V. Levin
On Mon, May 13, 2024 at 04:55:28PM -0400, Zack Weinberg wrote: > From: Petr Vorel > > Implicit ‘int’ (e.g. ‘extern foo();’ meaning the same thing as > ‘extern int foo();’) was dropped from the C standard in its 1999 > edition. Twenty-five years later, free C compilers are finally > starting to m

Re: [PATCH] Port config.guess to strict POSIX.1-2024 c17

2024-07-28 Thread Dmitry V. Levin
On Sat, Jul 27, 2024 at 10:41:28PM -0700, Paul Eggert wrote: > * config.guess (set_cc_for_build): > Try the c17 compiler, standardized in POSIX.1-2024. See: > https://pubs.opengroup.org/onlinepubs/9799919799/utilities/c17.html > While we're at it, prefer c99 to c89. Applied, thanks. -- ldv