From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQ6Mv-00026h-CK for qemu-devel@nongnu.org; Thu, 22 Jan 2009 15:41:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQ6Mu-00026M-QH for qemu-devel@nongnu.org; Thu, 22 Jan 2009 15:41:41 -0500 Received: from [199.232.76.173] (port=54612 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ6Mu-00026H-Jl for qemu-devel@nongnu.org; Thu, 22 Jan 2009 15:41:40 -0500 Received: from qw-out-1920.google.com ([74.125.92.150]:32212) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQ6Mu-00055B-B7 for qemu-devel@nongnu.org; Thu, 22 Jan 2009 15:41:40 -0500 Received: by qw-out-1920.google.com with SMTP id 5so848297qwc.4 for ; Thu, 22 Jan 2009 12:41:39 -0800 (PST) Message-ID: <4978D9F6.7030201@codemonkey.ws> Date: Thu, 22 Jan 2009 14:41:26 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Windows compilation broken References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Consul wrote: > As of revision 6410 the windows compilation is broken. Is it that my > build environment is too old? Does it build if you disable dsound? It builds for me with mingw32 using gcc 4. Regards, Anthony Liguori > Alex. > > $ uname -a > MINGW32_NT-5.1 WCX14931 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown > $ gcc --version > gcc.exe (GCC) 3.4.2 (mingw-special) > > CC audio/dsoundaudio.o > In file included from > c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/rpc.h:40, > from > c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/objbase.h:3, > from audio/dsoundaudio.c:38: > c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/rpcdce.h:366: > error: syntax error before "__attribute__" > In file included from audio/dsoundaudio.c:407: > audio/dsound_template.h:26:1: warning: "NAME2" redefined > In file included from audio/dsoundaudio.c:405: > audio/dsound_template.h:34:1: warning: this is the location of the > previous definition > In file included from audio/dsoundaudio.c:407: > audio/dsound_template.h:31:1: warning: "FIELD2" redefined > In file included from audio/dsoundaudio.c:405: > audio/dsound_template.h:39:1: warning: this is the location of the > previous definition > make: *** [audio/dsoundaudio.o] Error 1 > > >