All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] PPC build errors in CVS
Date: Sun, 07 Oct 2007 23:45:51 +0200	[thread overview]
Message-ID: <1191793552.9976.53.camel@rapid> (raw)
In-Reply-To: <47094A70.9080800@earthlink.net>

On Sun, 2007-10-07 at 17:06 -0400, Robert Reif wrote:
> PPC compiling has been broken for me in CVS for a few days and is 
> getting worse.
> I'm running Red Hat 9.
> plain text document attachment (ppc.errors.txt)

The current CVS builds here, at least on amd64 and x86.
But Red Hat as a long tradition of buggy compilers, it seems...

As I usually use gcc 3.4.6, I just tried with official gcc 4.1.1, 4.1.2
and 4.2.0 and it this file (target-ppc/translate.c) still compiles (with
a lot of warnings though).

I also took a look in C 99 specification and I saw no restriction on
writing:
do_this(a,
#ifdef _this_is_defined
	b,
#else
	c,
#endif
	d);
when do_this() is defined as a macro.

May I suggest you to use a C99 compliant compiler ?
I don't feel like making my code less readable just because some use
buggy compilers. (but if someone tells me what in the ISO C
specification, that I would have missed, explicitelly forbids this).

[...]

-- 
J. Mayer <l_indien@magic.fr>
Never organized

  reply	other threads:[~2007-10-07 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-07 21:06 [Qemu-devel] PPC build errors in CVS Robert Reif
2007-10-07 21:45 ` J. Mayer [this message]
2007-10-07 22:40   ` Daniel Jacobowitz
2007-10-07 23:03     ` J. Mayer

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=1191793552.9976.53.camel@rapid \
    --to=l_indien@magic.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.