From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: In-Reply-To: <20090921160532.GC3868@hack> References: <20090921160532.GC3868@hack> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Segher Boessenkool Subject: Re: [PATCH 5/5] arch/um: remove duplicate structure field initialization Date: Mon, 21 Sep 2009 18:26:44 +0200 Sender: linux-kernel-owner@vger.kernel.org To: =?ISO-8859-1?Q?Am=E9rico_Wang?= Cc: Julia Lawall , jdike@addtoit.com, user-mode-linux-user@lists.sourceforge.net, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org List-ID: > " > The initialization shall occur in initializer list order, each > initializer provided for a particular subobject overriding any > previously listed initializer for the same subobject [...] > " > > I am wondering why gcc doesn't (can't?) complain about this? Does -Woverride-init (included in -Wextra / -W) not work? If so, please file a bug report. Thanks, Segher