From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] c99 or not?
Date: Sun, 17 Aug 2008 18:28:56 -0500 [thread overview]
Message-ID: <48A8B438.6040109@codemonkey.ws> (raw)
In-Reply-To: <cef699d70808171522k712671b8g3a256a9a44c20ba@mail.gmail.com>
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.
Perhaps you need to specify -std=gnu99 instead of -std=c99?
Regards,
Anthony Liguori
> This has a rather nasty set of cascading effects, most of which are anonymous
> unions in nbd.c and vga_vmware.c, as well asm needing to be __asm
> scattered throughout the code.
>
> Thoughts on this? I already have some prototype code to fix up nbd.c
> and vga_vmware.c to get rid of the anonymous unions, but will have some
> more work to complete to get a working compile.
>
> Thanks,
>
> Ben
>
>
>
next prev parent reply other threads:[~2008-08-17 23:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-17 22:22 [Qemu-devel] c99 or not? Ben Taylor
2008-08-17 22:33 ` François Revol
2008-08-21 21:58 ` Andreas Färber
2008-08-17 23:28 ` Anthony Liguori [this message]
2008-08-17 23:34 ` Ben Taylor
2008-08-21 19:43 ` Andreas Färber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48A8B438.6040109@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).