Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MTfA4-0002Q0-SL for mharc-grub-devel@gnu.org; Wed, 22 Jul 2009 12:59:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTfA2-0002NZ-CE for grub-devel@gnu.org; Wed, 22 Jul 2009 12:59:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTf9x-0002J5-Ih for grub-devel@gnu.org; Wed, 22 Jul 2009 12:59:21 -0400 Received: from [199.232.76.173] (port=39294 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTf9x-0002Ir-Ah for grub-devel@gnu.org; Wed, 22 Jul 2009 12:59:17 -0400 Received: from aybabtu.com ([69.60.117.155]:37480) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTf9w-0005SZ-Ni for grub-devel@gnu.org; Wed, 22 Jul 2009 12:59:16 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MTe49-000701-9w for grub-devel@gnu.org; Wed, 22 Jul 2009 17:49:13 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MTf9t-0002Gb-1Z for grub-devel@gnu.org; Wed, 22 Jul 2009 18:59:13 +0200 Date: Wed, 22 Jul 2009 18:59:13 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090722165913.GA8706@thorin> References: <1232851143.23773.13.camel@localhost> <49DFD57E.9040905@gmail.com> <200904111909.48927.okuji@enbug.org> <1241339354.3750.8.camel@fz.local> <1248266462.3517.11.camel@fz.local> <1248279294.8929.7.camel@mj> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1248279294.8929.7.camel@mj> 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, 1) Subject: Re: [PATCH] Build system improvement X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 16:59:22 -0000 On Wed, Jul 22, 2009 at 12:14:54PM -0400, Pavel Roskin wrote: > On Wed, 2009-07-22 at 14:41 +0200, Felix Zielcke wrote: > > > > [0] http://lists.gnu.org/archive/html/grub-devel/2009-05/msg00009.html > > > > So what's now with it? > > Marco can you at least say something about it? > > It would be very nice if the warnings would be more visible by default. > > Probable we can't ever use -Werror because different compilers produce > > different warnings etc. > > For example gentoo's gcc with his trampoline patch. > > I don't see any warnings in any configuration, unless more warning flags > are added (e.g. -Wconversion, which is very noisy). > > We can use -Werror by default, but make it very easy to disable. For > instance, we could have a configure option --disable-strict-warnings. > > GRUB is a bootloader; we don't want anyone's system to become unbootable > because something was miscompiled. Requiring an extra step to disable > warnings would tell users to be more careful. I completely agree with this (both things). Except, I'd call it --disable-werror, I think it's clearer (and I vaguely recall other projects using this flag). -- 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."