From: Ian Campbell Subject: Re: [PATCH 1 of 1] Update ZFS sources from illumos.org: Date: Mon, 11 Nov 2013 17:23:29 +0000 Message-ID: <1384190609.1883.6.camel@kazak.uk.xensource.com> References: <7afe0b19c8989b1e9364.1383246266@infra-99-016> <1384186987.19117.80.camel@kazak.uk.xensource.com> <52810804.8080007@amazon.de> <1384188057.19117.88.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Igor Kozhukhov Cc: "Egger, Christoph" , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org (please don't top post) On Mon, 2013-11-11 at 21:16 +0400, Igor Kozhukhov wrote: > Hi Ian, > > we can use: > https://github.com/illumos/illumos-gate/tree/master/usr/src/grub@2acef22db7808606888f8f92715629ff3ba555b9 > > will it be correct ? > change set after '@' That link is 404 for me. > about -Werror > > by GCC specific, if we want to disable some warnings we should add rules after -Werror. > example: > -Werror -Wno-parentheses -Wno-unused > > if we add rules "-Wno-parentheses -Wno-unused" before "-Werror" - they will be ignored and we will have build problem. Are you sure? We have at least some instances of this in our tree already and it doesn't seem to be having any adverse impact. The Werror docs don't say anything about this requirement, just "Make all warnings into errors.". Since Werror doesn't actually enable or disable any warnings itself I can't see why the ordering would matter. Ian.