qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] PPC build errors in CVS


From: J. Mayer
Subject: Re: [Qemu-devel] PPC build errors in CVS
Date: Mon, 08 Oct 2007 01:03:51 +0200

On Sun, 2007-10-07 at 18:40 -0400, Daniel Jacobowitz wrote:
> On Sun, Oct 07, 2007 at 11:45:51PM +0200, J. Mayer wrote:
> > 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).
> 
> I'm pretty sure that it was either forbidden or unspecified, at least
> in C89.  I didn't check C99.

OK, then...
I'm trying a work-around that should not make the code too ugly...

[...]

-- 
J. Mayer <address@hidden>
Never organized





reply via email to

[Prev in Thread] Current Thread [Next in Thread]