Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750718AbVITXvE (ORCPT ); Tue, 20 Sep 2005 19:51:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750720AbVITXvE (ORCPT ); Tue, 20 Sep 2005 19:51:04 -0400 Received: from rproxy.gmail.com ([64.233.170.203]:58080 "EHLO rproxy.gmail.com") by vger.kernel.org with ESMTP id S1750718AbVITXvD convert rfc822-to-8bit (ORCPT ); Tue, 20 Sep 2005 19:51:03 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=slg+xRXCpQieXR2p1ai56WDe++rNWHlXtpMiRaf32l1Qd6b/8PARIJAD3YMl0If3xWe68rObyoxCHv81BFniGQ0uDSOBiO4RcSSbazbaKiwYHS7DOOLBJA/BQeRfvVw+YqvxdQOXvnpDGxIWaYG0coBDcoYyo6QZiEqktspdKr4= Message-ID: Date: Tue, 20 Sep 2005 16:51:00 -0700 From: James Lamanna Reply-To: James Lamanna To: Vadim Lobanov Subject: Re: I request inclusion of reiser4 in the mainline kernel Cc: stephen.pollei@gmail.com, vonbrand@inf.utfsm.cl, nikita@clusterfs.com, vda@ilport.com.ua, linux-kernel@vger.kernel.org, reiserfs-list@namesys.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1228 Lines: 39 On 9/20/05, Vadim Lobanov wrote: > On Tue, 20 Sep 2005, James Lamanna wrote: > > > On 9/20/05, Stephen Pollei wrote: > > >On 9/20/05, Hans Reiser wrote: > > > > Horst von Brand wrote: > > > > >Nikita Danilov wrote: > > What about #warning / #error in this case? > > > > #if defined(DEBUG_THIS) || defined(DEBUG_THAT) > > int znode_is_loaded(const struct znode *z); > > #else > > #error znode_is_loaded is unavailable when not debugging > > #endif > > > > That would certainly break the compile. > > Except that breaks the compile unconditionally, not just when someone > tries to use the function when they shouldn't. I don't think a flat > error will work here, but instead something along the lines of a > __attribute__((error)) on the function is needed. Oh duh. It would wouldn't it :) Too much on my mind today. > > > -- James Lamanna > > - > > -VadimL > -- James Lamanna - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/