OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: CVS: cvs.openbsd.org: src

From: Theo de Raadt (deraadtcvs.openbsd.org)
Date: Thu Mar 11 2004 - 12:02:17 CST


-Wredundant-decls is retarded.

It will make our include files much more complicated.

> On Thu, Mar 11, 2004 at 05:16:47AM -0700, Claudio Jeker wrote:
> > CVSROOT: /cvs
> > Module name: src
> > Changes by: claudiocvs.openbsd.org 2004/03/11 05:16:46
> >
> > Modified files:
> > usr.sbin/bgpd : Makefile
> >
> > Log message:
> > Type in Makefile. CLFAGS != CFLAGS and we don't want -Wredundant-decls the
> > standard include files are full of redundant declarations. OK henning
>
> We'll have to look this through after 3.5.
>
> Specifically:
> - standard `system' include files are supposed to be protected against
> warnings.
> - we should be able to compile most stuff with -Wredundant-decls.
> Matthieu has been cleaning stuff wrt XFree4 and this, if I recall right.