On Sat, Jul 20, 2013 at 12:40:47AM +0200, Alexander Bluhm wrote:
> Hi,
>
> Enable gcc warnings for arp, rarpd, ndp and fix findings.
>
> ok?
>
> bluhm
>
> Index: usr.sbin/arp/Makefile
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/usr.sbin/arp/Makefile,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 Makefile
> --- usr.sbin/arp/Makefile 29 Mar 2005 23:56:30 -0000 1.3
> +++ usr.sbin/arp/Makefile 19 Jul 2013 22:35:30 -0000
> @@ -2,6 +2,7 @@
>
> PROG= arp
> MAN= arp.4 arp.8
> -CFLAGS+= -Wall
> +
> +WARNINGS= Yes
>
I may be wrong, but I think the consensus was that WARNINGS was something
you turned on when you wanted to check things, but that was too expensive
in terms of compiler speed, especially on slow slow architectures ?