Re: C-specific compiler parameters (was: Update on Changes/PortingToModernC)

2023-05-10 Thread Björn Persson
Jakub Jelinek wrote: > On Wed, May 10, 2023 at 12:09:10AM +0200, Björn Persson wrote: > > Florian Weimer wrote: > > > I am going to explore a way to land -Werror=implicit-int > > > -Werror=implicit-function-declaration among the default compiler flags. > > > There's a bit of an issue because the

Re: C-specific compiler parameters (was: Update on Changes/PortingToModernC)

2023-05-09 Thread Jakub Jelinek
On Wed, May 10, 2023 at 12:09:10AM +0200, Björn Persson wrote: > Florian Weimer wrote: > > I am going to explore a way to land -Werror=implicit-int > > -Werror=implicit-function-declaration among the default compiler flags. > > There's a bit of an issue because the C++ front end warns on > > those

C-specific compiler parameters (was: Update on Changes/PortingToModernC)

2023-05-09 Thread Björn Persson
Florian Weimer wrote: > I am going to explore a way to land -Werror=implicit-int > -Werror=implicit-function-declaration among the default compiler flags. > There's a bit of an issue because the C++ front end warns on > those flags, so we need another -specs= kludge that is incompatible with > Clan