From owner-freebsd-hackers Wed Apr 24 11:40:08 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA07840 for hackers-outgoing; Wed, 24 Apr 1996 11:40:08 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA07795 for ; Wed, 24 Apr 1996 11:40:04 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id EAA19918; Thu, 25 Apr 1996 04:05:26 +0930 From: Michael Smith Message-Id: <199604241835.EAA19918@genesis.atrad.adelaide.edu.au> Subject: Re: GNU binutils port To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Thu, 25 Apr 1996 04:05:25 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, jmacd@CS.Berkeley.EDU, bde@zeta.org.au, freebsd-hackers@FreeBSD.org In-Reply-To: <11585.830359686@time.cdrom.com> from "Jordan K. Hubbard" at Apr 24, 96 08:28:06 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard stands accused of saying: > > I use -Wall in order to help me find stupid bugs in my code. It's > actually pretty good at this, and so I use it. In order to use it, I > also add things like extra parentheses around assignment expressions > (and, given that I also happen to *prefer* the: ``if ((blah = frob()) > != bar)'' style, that's scarcely a hardship) and basically do whatever > else I need to do to make the fool thing happy. That's just part of > the price for using the tool, same as with any tool. ...this is exactly why I use -Wall for my code, and follow similar conventions. However, not everyone does. Pointing at a (large) piece of software that generates a spastic number of warnings with -Wall and saying "this software is broken" isn't terribly valid. Having said that, I seem to remember that one of the oldest comments in the 'things for newcomers to do' file has been "make the kernel compile cleanly with -Wall" 8) > Jordan -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[