From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxEmq-0007ch-FO for qemu-devel@nongnu.org; Mon, 21 Jan 2013 05:39:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxEmn-0001FW-QZ for qemu-devel@nongnu.org; Mon, 21 Jan 2013 05:39:32 -0500 Date: Mon, 21 Jan 2013 11:39:22 +0100 From: Stefan Hajnoczi Message-ID: <20130121103922.GA9472@stefanha-thinkpad.redhat.com> References: <1358750991-18501-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1358750991-18501-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [PATCH v2] hw/tpci200: Fix compiler warning (redefined symbol with MinGW) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, Alberto Garcia , qemu-devel@nongnu.org On Mon, Jan 21, 2013 at 07:49:51AM +0100, Stefan Weil wrote: > STATUS_TIMEOUT is defined in winnt.h: > > CC hw/tpci200.o > hw/tpci200.c:34:0: > warning: "STATUS_TIMEOUT" redefined [enabled by default] > /usr/lib/gcc/x86_64-w64-mingw32/4.6/../../../../x86_64-w64-mingw32/include/winnt.h:1036:0: > note: this is the location of the previous definition > > Use STATUS_TIME instead of STATUS_TIMEOUT as suggested by Alberto Garcia. > > Signed-off-by: Stefan Weil > --- > > v1: Add QEMU_PREFIX (http://patchwork.ozlabs.org/patch/212348/) > v2: Use STATUS_TIME > > Like v1, this patch fixes a warning for MinGW. > We could also mix v1 and v2. > > Please commit one of those variants to git master. > > Regards, > Stefan W. > > > hw/tpci200.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan