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

Mark Murray mark at grondar.org
Sat May 3 11:43:22 PDT 2003


"M. Warner Losh" writes:
> In message: <200305031639.h43GdYQ4049867 at repoman.freebsd.org>
>             Mark Murray <markm at 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


More information about the cvs-src mailing list