Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261532AbVDJRgW (ORCPT ); Sun, 10 Apr 2005 13:36:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261530AbVDJRgW (ORCPT ); Sun, 10 Apr 2005 13:36:22 -0400 Received: from mx1.elte.hu ([157.181.1.137]:61081 "EHLO mx1.elte.hu") by vger.kernel.org with ESMTP id S261536AbVDJRgI (ORCPT ); Sun, 10 Apr 2005 13:36:08 -0400 Date: Sun, 10 Apr 2005 19:35:54 +0200 From: Ingo Molnar To: Rik van Riel Cc: Linus Torvalds , Petr Baudis , "Randy.Dunlap" , Ross Vandegrift , Dave Jones , Kernel Mailing List Subject: Re: more git updates.. Message-ID: <20050410173554.GB17549@elte.hu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1021 Lines: 25 * Rik van Riel wrote: > GCC 4 isn't very happy. Mostly sign changes, but also something that > looks like a real error: > > gcc -g -O3 -Wall -c -o fsck-cache.o fsck-cache.c > fsck-cache.c: In function 'main': > fsck-cache.c:59: warning: control may reach end of non-void function 'fsck_tree' being inlined > fsck-cache.c:62: warning: control may reach end of non-void function 'fsck_commit' being inlined > > I assume that fsck_tree and fsck_commit should complain loudly if they > ever get to that point - but since I'm not quite sure there's no > patch, sorry. i sent a patch for most of the sign errors, but the above is a case gcc not noticing that the function can never ever exit the loop, and thus cannot get to the 'return' point. Ingo - 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/