From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wichert Akkerman Subject: Re: share/private/slave a subtree - define vs enum Date: Fri, 8 Jul 2005 20:15:02 +0200 Message-ID: <20050708181502.GD1165@wiggy.net> References: <20050708180302.GC1165@wiggy.net> <42CEC17D.8020309@waychison.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Bryan Henderson , Roman Zippel , Andrew Morton , bfields@fieldses.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linuxram@us.ibm.com, Miklos Szeredi , Pekka J Enberg , Alexander Viro Return-path: To: Mike Waychison Content-Disposition: inline In-Reply-To: <42CEC17D.8020309@waychison.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Previously Mike Waychison wrote: > enums in C are (de?)promoted to integral types under most conditions, so > the type-checking is useless. It's a warning in gcc afaik and spare should complain as well. Wichert. -- Wichert Akkerman It is simple to make things. http://www.wiggy.net/ It is hard to make things simple.