From owner-freebsd-current@FreeBSD.ORG Thu Jun 10 22:14:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D85CC16A4CE for ; Thu, 10 Jun 2004 22:14:32 +0000 (GMT) Received: from hewey.af.speednet.com.au (udsl-3-062.QLD.dft.com.au [202.168.108.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A9CE43D1F for ; Thu, 10 Jun 2004 22:14:31 +0000 (GMT) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.1])i5AMELGt011986 for ; Fri, 11 Jun 2004 08:14:22 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Fri, 11 Jun 2004 08:14:21 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: freebsd-current@FreeBSD.ORG Message-ID: <20040611080128.I11503@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: kernel compile warnings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 22:14:33 -0000 I noticed a few "strange looking warnings" fly by during a buildkernel so I checked the script-file: # grep "warning:" mkbk.out-20040610 | grep -v dereferencing | wc -l 50 Some examples of the three largest offenders: src/sys/dev/drm/mga_state.c:250: warning: inlining failed in call to `mga_g200_emit_pipe' src/sys/dev/drm/r128_state.c:102: warning: inlining failed in call to`r128_emit_context' src/sys/dev/ie/if_ie.c:763: warning: passing arg 1 of `bcopy' discards qualifiers from pointer target type Are the Gods aware of these and should they be fixed? I have standard COPTFLAGS=-O -pipe in my /etc/make.conf. -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/