Le 01/12/2012 22:31, Philip Guenther a écrit :
> Neither.  The OpenBSD developers think that that's a useless** warning
> and aren't interested in making the system header files that much
> harder to read just to make it go away.
> 
> What problem are you trying to solve by using -Wredundant-decls?


Nothing important. I was just surprised to see a lot of warnings
when compiling a project.

Thanks for the answer.


  Has
> it *ever* caught a problem in code that you then fixed?  Or have you
> always just followed modern best practices by only putting extern
> function declarations in just one header file?
> 
> 
> Philip Guenther
> 
> ** some developers have much harsher language for this...

Reply via email to