Date: Thu, 3 Oct 1996 10:33:31 +0200 (MET DST) From: sos@FreeBSD.org To: peter@spinner.dialix.com (Peter Wemm) Cc: phk@critter.tfs.com, sos@FreeBSD.org, jkh@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa syscons.c Message-ID: <199610030833.KAA08361@ra.dkuug.dk> In-Reply-To: <199610030821.QAA04002@spinner.DIALix.COM> from "Peter Wemm" at Oct 3, 96 04:21:27 pm
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Peter Wemm who wrote:
>
> Poul-Henning Kamp wrote:
> > >> That should be enough to shut up gcc. Althought what to do about the
> > >> SYSCTL macro for declaring functions where you don't get the chance to
> > >> do this, I'm not sure about.
> >
> > Stick the __unused gunk in the SYSCTL_HANDLER_ARGS macro in /sys/sys/sysctl.h
>
> Heh, silly me. I assumed that gcc would bitch if we used a variable that
> was explicitly declared unused... It seems not...
So, now we stick __unused all over the place to shut up gcc, and
effectively reduces the -Wunused to the same state it has in
2.6.3, REAL progress and lots of work :(
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team
So much code to hack -- so little time.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610030833.KAA08361>
