Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NIUCq-000711-GT for mharc-grub-devel@gnu.org; Wed, 09 Dec 2009 16:36:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIUCp-00070K-2z for grub-devel@gnu.org; Wed, 09 Dec 2009 16:36:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIUCk-0006z0-Ju for grub-devel@gnu.org; Wed, 09 Dec 2009 16:36:18 -0500 Received: from [199.232.76.173] (port=40300 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIUCk-0006yk-5X for grub-devel@gnu.org; Wed, 09 Dec 2009 16:36:14 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:37683 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NIUCj-0001Rz-Jj for grub-devel@gnu.org; Wed, 09 Dec 2009 16:36:13 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NIUCg-0003BK-GR for grub-devel@gnu.org; Wed, 09 Dec 2009 22:36:12 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NIUCb-0001s4-FG for grub-devel@gnu.org; Wed, 09 Dec 2009 22:36:05 +0100 Date: Wed, 9 Dec 2009 22:36:05 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20091209213605.GB7093@thorin> References: <4B093833.4020903@scarlet.be> <20091123144428.GA9295@thorin> <4B116A20.5030003@scarlet.be> <20091129091919.GY6439@riva.ucam.org> <4B1AD769.6030208@scarlet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B1AD769.6030208@scarlet.be> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Just a cosmetic question about grub_vprintf()? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 21:36:19 -0000 On Sat, Dec 05, 2009 at 09:58:01PM +0000, rubisher wrote: > +AC_ARG_ENABLE([sparse], > + AS_HELP_STRING([--enable-sparse], > + [enable sparse code checking]), , > + enable_sparse=no > +) > + > +# Set cgcc as compiler and add sparse flags if --enable-sparse was specified. > +if test "$enable_sparse" = "yes"; then > + CC="REAL_CC=$CC cgcc" > + CFLAGS="$CFLAGS -Wbitwise -Wnon-pointer-null" > + TARGET_CC="REAL_CC=$TARGET_CC cgcc" > + TARGET_CFLAGS="$TARGET_CFLAGS -Wbitwise -Wnon-pointer-null" > +fi > + This doesn't seem to be recognized by all versions of GCC we support. If we enable these flags this needs to be checked. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."