From owner-freebsd-current@FreeBSD.ORG Tue Feb 8 11:58:27 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id BA276106566C; Tue, 8 Feb 2011 11:58:27 +0000 (UTC) Date: Tue, 8 Feb 2011 11:58:27 +0000 From: Alexander Best To: Garrett Cooper Message-ID: <20110208115827.GA38518@freebsd.org> References: <20110203221257.GA76849@freebsd.org> <20110205065303.GA1694@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: Roman Divacky , freebsd-current@freebsd.org Subject: Re: [RFC] removing broken includes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 08 Feb 2011 11:58:27 -0000 On Fri Feb 4 11, Garrett Cooper wrote: > On Fri, Feb 4, 2011 at 10:53 PM, Roman Divacky wrote: > > alex, > > > > I think you are the kind of person to try out > > > > http://code.google.com/p/include-what-you-use/ > > > > with fbsd :) > > Please be careful with this tool though. There's header pollution > in them thar c files (refer to the FreeBSD and/or POSIX manpages for > the source of truth), e.g. time.h vs sys/time.h ! > HTH, here's my first attempt running [1] make -k CXX=/usr/local/src/llvm/Debug+Asserts/bin/include-what-you-use CC=/usr/local/src/llvm/Debug+Asserts/bin/include-what-you-use buildkernel cheers. alex [1] http://people.freebsd.org/~arundel/misc/include-what-you-use-buildkernel-output > -Garrett -- a13x