From owner-freebsd-hackers Wed Apr 24 15:17:31 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA03076 for hackers-outgoing; Wed, 24 Apr 1996 15:17:31 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA03065 for ; Wed, 24 Apr 1996 15:17:24 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA23099; Wed, 24 Apr 1996 15:12:40 -0700 From: Terry Lambert Message-Id: <199604242212.PAA23099@phaeton.artisoft.com> Subject: Re: GNU binutils port To: jmacd@CS.Berkeley.EDU (Josh MacDonald) Date: Wed, 24 Apr 1996 15:12:40 -0700 (MST) 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 X-Mailer: ELM [version 2.4 PL24] 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 > > They are only warnings and many would go away if less warnings were enabled. > > There would be many more if more were enabled. For the LINT kernel built on > > Apr 6, the warning counts were: > > > > compiler warnings (lines) > > -------- -------- > > cc 74 > > cc -Wall 2394 > > gcc-2.7.2 4694 > > > > 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. I really doubt sizeof(void *) != sizeof(??? *) any time soon. Anyone here planning on porting to a platform with split I and D? Can you get 5M in a PDP8? The compiler is being unbearably anal for most of those 4694 warnings. The language didn't change to get those extra 2300 warnings, the compiler did. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.