From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHKe6-0003WZ-7n for qemu-devel@nongnu.org; Thu, 18 Jun 2009 12:39:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHKe1-0003Ov-FV for qemu-devel@nongnu.org; Thu, 18 Jun 2009 12:39:25 -0400 Received: from [199.232.76.173] (port=43216 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHKe1-0003Od-BR for qemu-devel@nongnu.org; Thu, 18 Jun 2009 12:39:21 -0400 Received: from srv-05.w4a.fr ([94.23.5.116]:56498 helo=mx1.w4a.fr) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHKe0-0000Yw-Vq for qemu-devel@nongnu.org; Thu, 18 Jun 2009 12:39:21 -0400 Date: Thu, 18 Jun 2009 17:39:14 +0100 (GMT+01:00) From: jcd@tribudubois.net Message-ID: <3911921.113111245343154043.JavaMail.root@srv-05.w4a.fr> In-Reply-To: <20090618103156.327a4b48@doriath> Subject: Re: [Qemu-devel] [PATCH v3] avoid compilation warning/errors on up to date compilers/glibc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org ----- "Luiz Capitulino" a =C3=A9crit : > I don't think it's a point of view, today we have a warning and we > know something is not ok. With this patch we won't have the warning > anymore but the solution is not what it should be. If you silence GCC there will not be any warning anymore either. =20 > Can't we have wrappers to read() and write() that does the right > thing and use them everywhere? It is already proposed. See version 4 of the patch.