From owner-freebsd-hackers Wed Apr 24 05:00:47 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11886 for hackers-outgoing; Wed, 24 Apr 1996 05:00:47 -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 FAA11881 for ; Wed, 24 Apr 1996 05:00:44 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id VAA19097; Wed, 24 Apr 1996 21:27:22 +0930 From: Michael Smith Message-Id: <199604241157.VAA19097@genesis.atrad.adelaide.edu.au> Subject: Re: GNU binutils port To: jmacd@CS.Berkeley.EDU (Josh MacDonald) Date: Wed, 24 Apr 1996 21:27:21 +0930 (CST) Cc: bde@zeta.org.au, freebsd-hackers@FreeBSD.org In-Reply-To: <199604240837.BAA19783@paris.CS.Berkeley.EDU> from "Josh MacDonald" at Apr 24, 96 01:37:57 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 Josh MacDonald stands accused of saying: > Oh dear.... I can't beleive you're saying this, "They are only warnings". > > To me, it has, "My code sucks and I don't care." written all over > it if you don't fix things so that they compile with no warnings > and -Wall. Perhaps kernel code is a bit different, but with 4700 > warnings, I'd be little scared. gcc -Wall is _pedantic_. Consider how many of the above are "Consider parentheses around assignment used as truth value", or "Integer used as pointer without a cast" (for use of '0' as a [legitimate] substitute for NULL. A pile more would be historic warts where unions were avoided and pointers to structures were passed around in a known context. > > Bruce -- ]] 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 [[