Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 May 2003 19:41:58 +0100
From:      Mark Murray <mark@grondar.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ls extern.h ls.c print.c util.c src/bin/pax ar_io.c ar_subs.c cache.c cpio.c extern.h gen_subs.c getoldopt.c options.c pat_rep.c pax.c pax.h src/bin/ps fmt.c src/bin/rcp rcp.c 
Message-ID:  <200305031841.h43Ifw8c019903@grimreaper.grondar.org>
In-Reply-To: Your message of "Sat, 03 May 2003 11:22:15 MDT." <20030503.112215.02300157.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"M. Warner Losh" writes:
> In message: <200305031639.h43GdYQ4049867@repoman.freebsd.org>
>             Mark Murray <markm@FreeBSD.org> writes:
> :   Fix a bazillion warnings. This makes almost the whole of src/bin/*
> :   WARNS=6, std=c99 clean.
> 
> It would be useful if you'd include what each class of warning was and
> how you fixed it.

Useful, sure. "Hard" is the problem. Much of this is work I did a while
ago and is stuff that I've been carrying for a while (like 2 years!).

The methodology is to turn on max warnings and fix the buggers. :-)
About 70% is const-poisoning. Half the rest is signed/unsigned. The
rest are mixed sweets.

M
--
Mark Murray
iumop ap!sdn w,I idlaH



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305031841.h43Ifw8c019903>