From owner-cvs-all Sun Dec 13 22:40:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA10006 for cvs-all-outgoing; Sun, 13 Dec 1998 22:40:18 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09994 for ; Sun, 13 Dec 1998 22:40:07 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA03001; Mon, 14 Dec 1998 17:35:39 +1100 Date: Mon, 14 Dec 1998 17:35:39 +1100 From: Bruce Evans Message-Id: <199812140635.RAA03001@godzilla.zeta.org.au> To: archie@whistle.com, dillon@apollo.backplane.com Subject: Re: -Wunused kernel build Cc: cvs-committers@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >> 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message