From: Ian Jackson Subject: Re: [PATCH 15/21] libxl: Get compiler to warn about gc_opt==NULL Date: Thu, 28 Jun 2012 18:56:39 +0100 Message-ID: <20460.39639.262519.539480@mariner.uk.xensource.com> References: <1340733318-21099-1-git-send-email-ian.jackson@eu.citrix.com> <1340733318-21099-16-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1340733318-21099-16-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("[PATCH 15/21] libxl: Get compiler to warn about gc_opt==NULL"): > Since it used to be legal to pass gc_opt==NULL, and there are various > patches floating about and under development which do so, add a > compiler annotation which makes the build fail when that is done. > > This turns a runtime crash into a build failure, and should ensure > that we don't accidentally commit a broken combination of patches. I would just like to mention that this did indeed today save me from committing a broken combination of patches :-). Ian.