From owner-svn-src-all@FreeBSD.ORG Thu Oct 13 13:14:48 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C892610656A8; Thu, 13 Oct 2011 13:14:48 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from sakura.ccs.furiru.org (sakura.ccs.furiru.org [IPv6:2001:2f0:104:8060::1]) by mx1.freebsd.org (Postfix) with ESMTP id 373FF8FC24; Thu, 13 Oct 2011 13:14:48 +0000 (UTC) Received: from localhost (authenticated bits=0) by sakura.ccs.furiru.org (unknown) with ESMTP id p9DDEhJJ001352; Thu, 13 Oct 2011 22:14:46 +0900 (JST) (envelope-from nyan@FreeBSD.org) Date: Thu, 13 Oct 2011 22:14:43 +0900 (JST) Message-Id: <20111013.221443.343708041391999047.nyan@FreeBSD.org> To: des@freebsd.org From: TAKAHASHI Yoshihiro In-Reply-To: <201110122145.p9CLjCcm085538@svn.freebsd.org> References: <201110122145.p9CLjCcm085538@svn.freebsd.org> X-Mailer: Mew version 6.3 on Emacs 23.3 / Mule 6.0 =?iso-2022-jp?B?KBskQjJWOzZOJBsoQik=?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r226329 - head/usr.bin/kdump X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2011 13:14:48 -0000 In article <201110122145.p9CLjCcm085538@svn.freebsd.org> Dag-Erling Smorgrav writes: > Author: des > Date: Wed Oct 12 21:45:12 2011 > New Revision: 226329 > URL: http://svn.freebsd.org/changeset/base/226329 > > Log: > Make kdump compile cleanly at WARNS level 6, with one exception: the > ipfilter headers contain a duplicated function declaration. Turn off > -Werror to allow kdump to compile in spite of this. > > It would be neat to be able to turn off -Werror on a file-by-file basis... > Modified: head/usr.bin/kdump/mkioctls > ============================================================================== > --- head/usr.bin/kdump/mkioctls Wed Oct 12 21:38:48 2011 (r226328) > +++ head/usr.bin/kdump/mkioctls Wed Oct 12 21:45:12 2011 (r226329) > @@ -15,12 +15,21 @@ LC_ALL=C; export LC_ALL > # XXX should we use an ANSI cpp? > ioctl_includes=` > cd $1 > - find -H -s * -name '*.h' | > + find -H -s * -name '*.h' | grep -v '.*disk.*\.h' | \ > xargs egrep -l \ > '^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' | > awk '{printf("#include <%s>\\\\n", $1)}' > ` > > +case "`uname -m`" in > +*pc98*) > + ioctl_includes="$ioctl_includes#include \\n" > + ;; > +*) > + ioctl_includes="$ioctl_includes#include \\n" > + ;; > +esac > + > awk -v x="$ioctl_includes" 'BEGIN {print x}' | > gcc -E -I$1 -dM -DCOMPAT_43TTY - | > awk -v ioctl_includes="$ioctl_includes" ' > This change breaks cross building. --- TAKAHASHI Yoshihiro