This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unused macros warning?
- From: "David O'Brien" <obrien at FreeBSD dot org>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Neil Booth <neil at daikokuya dot co dot uk>, gcc at gcc dot gnu dot org
- Date: Tue, 23 Jul 2002 15:24:47 -0700
- Subject: Re: Unused macros warning?
- Organization: The NUXI BSD Group
- References: <20020722063352.GA22349@daikokuya.co.uk> <20020723055529.GC8141@codesourcery.com>
- Reply-to: obrien at FreeBSD dot org
On Mon, Jul 22, 2002 at 10:55:29PM -0700, Zack Weinberg wrote:
> > Long-term, it would be nice if cpplib could tell you if any header you
> > include is not used for any purpose. The kernel guys have wanted this
> > feature for a long time.
>
> Oooh, I want this.
http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/tools/kerninclude/kerninclude.sh
is the script we use to do this with FreeBSD.