Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 1998 22:38:35 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        archie@whistle.com, cvs-committers@FreeBSD.ORG
Subject:   Re: -Wunused kernel build
Message-ID:  <199812140638.WAA33004@apollo.backplane.com>
References:   <199812140635.RAA03001@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help

:
:>>     I think it's a good idea.  Being able to add in -Wall would be best of 
:>>     all.
:>
:>Yes, that's the ultimate goal.. :-) Actually, -Wall and then some,
:>if possible. Personally speaking, I can't live without -Wall in
:>my own code; the compiler's a lot better than me at finding certain
:>kinds of simple bugs (eg, printf() with missing arguments, etc).
:
:-Wall is feeble compared with the warnings already enabled for the
:kernel.  E.g., it doesn't cover printf() with missing args -- -Wformat
:covers that.
:
:Bruce

    It makes the cc line shorter.  We can then get rid of all the -W's that
    -Wall does include.

						-Matt

    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet 
                    Communications & God knows what else.
    <dillon@backplane.com> (Please include original email in any response)    

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



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