From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KUrlb-00009X-DF for qemu-devel@nongnu.org; Sun, 17 Aug 2008 19:34:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUrlZ-00009L-1U for qemu-devel@nongnu.org; Sun, 17 Aug 2008 19:34:34 -0400 Received: from [199.232.76.173] (port=59772 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUrlY-00009I-RD for qemu-devel@nongnu.org; Sun, 17 Aug 2008 19:34:32 -0400 Received: from wa-out-1112.google.com ([209.85.146.178]:63553) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KUrlY-00034m-OK for qemu-devel@nongnu.org; Sun, 17 Aug 2008 19:34:32 -0400 Received: by wa-out-1112.google.com with SMTP id j5so1394399wah.18 for ; Sun, 17 Aug 2008 16:34:31 -0700 (PDT) Message-ID: Date: Sun, 17 Aug 2008 19:34:31 -0400 From: "Ben Taylor" Subject: Re: [Qemu-devel] c99 or not? In-Reply-To: <48A8B438.6040109@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48A8B438.6040109@codemonkey.ws> 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 On Sun, Aug 17, 2008 at 7:28 PM, Anthony Liguori wrote: > Ben Taylor wrote: >> >> I've been hacking about on qemu again on Solaris 10, which I've run >> into an issue. >> >> in the nbd.h file, it includes stdbool.h, but on Solaris 10, you have >> to enable c99 >> to get this to compile. >> > > Are you not using GCC? QEMU is not known to support any compilers other > than GCC. gcc-3.4.3. though once the tcg conversion is complete, I want to give studio 12 a whirl. > Perhaps you need to specify -std=gnu99 instead of -std=c99? I'll give that a shot.