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 v2 1/4] config.guess: Avoid implicit int in definitions of main.

2024-06-12 Thread Zack Weinberg
On Mon, May 13, 2024, at 4:55 PM, 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 make this

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

2024-05-13 Thread Zack Weinberg
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 make this an error by default, so let’s not use it anymore in config.guess p