Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 14:58:21 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        current@FreeBSD.ORG
Subject:   -Wall, -Wcast-qual has been turned on
Message-ID:  <199901272258.OAA67227@apollo.backplane.com>

next in thread | raw e-mail | index | archive | help
    -Wall and -Wcast-qual has been turned on in /usr/src/share/mk/bsd.kern.mk.

    Please note that you will see a lot of warnings ( but no fatal errors )
    while compiling the kernel now until we can get it all cleaned up.
    I am working a first-pass cleanup now.

    Do not 'cleanup' the code unless you know what you are doing, there are
    some odd things in there that are being caught now.  Specifically, nobody
    should clean up the enumeration warnings or the &&/|| warnings unless
    they know exactly what they are doing.

    The volatile warnings also need esspecial attention.  If you are not 
    familiar with how volatile is used with memory-mapped I/O, do not try to 
    clean these up.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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