Re: Implicit function declarations and GCC 10

2019-07-05 Thread Segher Boessenkool
On Fri, Jul 05, 2019 at 09:15:12AM +0200, Florian Weimer wrote: > * Segher Boessenkool: > > > Hi Florian, > > > > On Fri, Jul 05, 2019 at 07:49:21AM +0200, Florian Weimer wrote: > >> > We already have an option for that > >> > (-Werror=implicit-function-declaration), > >> > and it is an error by

Re: Implicit function declarations and GCC 10

2019-07-05 Thread Szabolcs Nagy
On 04/07/2019 12:27, Florian Weimer wrote: > Implicit function declarations were removed from C99, more than twenty > years ago. So far, GCC only warns about them because there were too > many old configure scripts where an error would lead to incorrect > configure check failures. > > I can try t

Re: Implicit function declarations and GCC 10

2019-07-05 Thread Florian Weimer
* Segher Boessenkool: > Hi Florian, > > On Fri, Jul 05, 2019 at 07:49:21AM +0200, Florian Weimer wrote: >> > We already have an option for that (-Werror=implicit-function-declaration), >> > and it is an error by default with -pedantic-errors already. If you are >> > asking to make it an error by

Re: Implicit function declarations and GCC 10

2019-07-04 Thread Segher Boessenkool
Hi Florian, On Fri, Jul 05, 2019 at 07:49:21AM +0200, Florian Weimer wrote: > > We already have an option for that (-Werror=implicit-function-declaration), > > and it is an error by default with -pedantic-errors already. If you are > > asking to make it an error by default, I second that; there n

Re: Implicit function declarations and GCC 10

2019-07-04 Thread Florian Weimer
* Segher Boessenkool: > On Thu, Jul 04, 2019 at 01:27:27PM +0200, Florian Weimer wrote: >> Implicit function declarations were removed from C99, more than twenty >> years ago. So far, GCC only warns about them because there were too >> many old configure scripts where an error would lead to incor

Re: Implicit function declarations and GCC 10

2019-07-04 Thread Segher Boessenkool
On Thu, Jul 04, 2019 at 01:27:27PM +0200, Florian Weimer wrote: > Implicit function declarations were removed from C99, more than twenty > years ago. So far, GCC only warns about them because there were too > many old configure scripts where an error would lead to incorrect > configure check failu