From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnI80-0002vR-5v for qemu-devel@nongnu.org; Tue, 07 Oct 2008 15:21:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnI7y-0002vB-Kn for qemu-devel@nongnu.org; Tue, 07 Oct 2008 15:21:50 -0400 Received: from [199.232.76.173] (port=43379 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnI7y-0002v8-Hz for qemu-devel@nongnu.org; Tue, 07 Oct 2008 15:21:50 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:55874) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnI7y-0006ni-E3 for qemu-devel@nongnu.org; Tue, 07 Oct 2008 15:21:50 -0400 Received: by fg-out-1718.google.com with SMTP id l26so4259055fgb.8 for ; Tue, 07 Oct 2008 12:21:49 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 22:21:49 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] [patch] Add spare checker support to the build system In-Reply-To: <48EB2FDF.8030603@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EB2FDF.8030603@redhat.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 10/7/08, Gerd Hoffmann wrote: > Hi, > > This adds support for running the sparse checker during the build > process. Left it off by default for now, build becomes very noisy with > sparse checking turned on as it has to complain alot (partly even in the > system headers!). The qemu code base needs quite some cleanups before > we should consider turning it on by default. Cool, with sparse, I found and fixed one real bug and found one missing 'static' just in target-sparc. The cgcc test should try compiling a program like the C compiler test. Maybe those tests could be merged?