Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGfsy-00083c-WE for qemu-devel@nongnu.org; Tue, 16 Jun 2009 17:08:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGfst-00081R-Ur for qemu-devel@nongnu.org; Tue, 16 Jun 2009 17:08:04 -0400 Received: from [199.232.76.173] (port=46270 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGfst-00081O-Pp for qemu-devel@nongnu.org; Tue, 16 Jun 2009 17:07:59 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]:43840) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGfss-0001Ro-Vj for qemu-devel@nongnu.org; Tue, 16 Jun 2009 17:07:59 -0400 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id D2F7081816B for ; Tue, 16 Jun 2009 23:07:55 +0200 (CEST) Received: from jcd-laptop.localnet (unknown [78.235.240.156]) by smtp3-g21.free.fr (Postfix) with ESMTP id E348F818131 for ; Tue, 16 Jun 2009 23:07:52 +0200 (CEST) From: "Jean-Christophe Dubois" Subject: Re: [Qemu-devel] [PATCH] avoid compilation warning/errors on up to date compilers Date: Tue, 16 Jun 2009 23:07:51 +0200 References: <200906160530.37086.jcd@tribudubois.net> <20090616182359.GA17188@miranda.arrow> <4A38070B.1020809@codemonkey.ws> In-Reply-To: <4A38070B.1020809@codemonkey.ws> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200906162307.51991.jcd@tribudubois.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Le mardi 16 juin 2009 22:56:43 Anthony Liguori, vous avez =E9crit : > Stuart Brady wrote: > > On Tue, Jun 16, 2009 at 06:03:43PM +0300, Riku Voipio wrote: > >> Which tree against did you make these changes? the qemu-ndb.c bit didn= 't > >> apply against HEAD. Also, there are some whitespace/tab issues. See the > >> CODING_STYLE doc. Functionally I can verify it removes compiler warnin= gs > >> when using a modenr glibc (2.9). > > > > Unfortunately, some of the changes don't look right. > > I think adding -D_FORTIFY_SOURCE=3D1 to CFLAGS is probably a better fix > than adding broken error handling everywhere. If the error handling I am proposing is not perfect at least it does someth= ing=20 instead of being non existent. Is it really considered as a better solution to just ignore what the people= =20 maintaining gcc/glibc consider should not be ignored? JC > > Regards, > > Anthony Liguori