From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LGfDY-0006oo-PG for qemu-devel@nongnu.org; Sat, 27 Dec 2008 14:53:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LGfDY-0006ob-7w for qemu-devel@nongnu.org; Sat, 27 Dec 2008 14:53:00 -0500 Received: from [199.232.76.173] (port=60595 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LGfDY-0006oY-5G for qemu-devel@nongnu.org; Sat, 27 Dec 2008 14:53:00 -0500 Received: from main.gmane.org ([80.91.229.2]:39905 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LGfDX-0003dx-Oj for qemu-devel@nongnu.org; Sat, 27 Dec 2008 14:52:59 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LGfDR-0001ip-8X for qemu-devel@nongnu.org; Sat, 27 Dec 2008 19:52:53 +0000 Received: from 78-21-61-244.access.telenet.be ([78.21.61.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Dec 2008 19:52:53 +0000 Received: from fhimpe by 78-21-61-244.access.telenet.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Dec 2008 19:52:53 +0000 From: Frederik Himpe Date: Sat, 27 Dec 2008 19:52:39 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: news Subject: [Qemu-devel] Fix compilation with -Werror=format-security 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 Cc: kvm@vger.kernel.org Mandriva is now using the -Werror=format-security CFLAG by default. To make kvm 82 compile with this option, I had to apply this patch: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kvm/current/SOURCES/kvm-82-format-string.patch?view=co By the way, is there any reason why the following patch was never applied? http://lists.gnu.org/archive/html/qemu-devel/2008-11/msg00116.html -- Frederik Himpe