qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] mingw: Do not perform string format checks


From: Jan Kiszka
Subject: [Qemu-devel] [PATCH] mingw: Do not perform string format checks
Date: Sun, 14 Jun 2009 20:05:22 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

[ I can't check the situation with cygwin, so this is mingw-only. ]

gcc still does not support the Windows-specific format string modifier
"I64". Therefore, it makes no sense to check for format string
correctness and generate tons of false positives.

Signed-off-by: Jan Kiszka <address@hidden>
---

 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 85bc598..aa586bd 100755
--- a/configure
+++ b/configure
@@ -223,6 +223,7 @@ audio_possible_drivers="sdl"
 ;;
 MINGW32*)
 mingw32="yes"
+OS_CFLAGS="-Wno-format"
 if [ "$cpu" = "i386" ] ; then
     kqemu="yes"
 fi

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]