From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZDvT-0002bi-N0 for qemu-devel@nongnu.org; Mon, 16 Feb 2009 19:35:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZDvS-0002bM-70 for qemu-devel@nongnu.org; Mon, 16 Feb 2009 19:35:03 -0500 Received: from [199.232.76.173] (port=60896 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZDvS-0002bE-12 for qemu-devel@nongnu.org; Mon, 16 Feb 2009 19:35:02 -0500 Received: from mail2.shareable.org ([80.68.89.115]:54619) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LZDvR-00011i-O3 for qemu-devel@nongnu.org; Mon, 16 Feb 2009 19:35:01 -0500 Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from ) id 1LZDvK-0005PW-Rt for qemu-devel@nongnu.org; Tue, 17 Feb 2009 00:34:54 +0000 Date: Tue, 17 Feb 2009 00:34:54 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] Add QEMU_NORETURN to some functions Message-ID: <20090217003454.GA20713@shareable.org> References: <4995E9A8.6030403@mail.berlios.de> <49998EBF.20006@codemonkey.ws> <4999B8E8.50509@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4999B8E8.50509@mail.berlios.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Stefan Weil wrote: > Without the attribute, gcc will give warnings (when they are > enabled) for static functions which don't return. It could determine > this automatically, but it does not. Obviously it can determine it automatically, otherwise it couldn't warn :-) -- Jamie