qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] case A ... B:


From: Thiemo Seufer
Subject: Re: [Qemu-devel] case A ... B:
Date: Tue, 24 Jul 2007 23:29:00 +0100
User-agent: Mutt/1.5.16 (2007-06-11)

Nathaniel Filardo wrote:
> Greetings all.
>
> I am attempting to port QEMU to Plan 9 for the Google Summer of Code.
> A big chunk (in terms of diff line count) of the work that has been
> done on this before was to convert all the lines of the form
>    case A ... B:
> to be individual case arms as required by Plan 9's C compiler.  There
> are currently 200 lines in the code base that use this GNU C
> extension, which limits the portability of QEMU to platforms with GCC
> or a C compiler supporting this particular GNUism.  Would a
> bulk-conversion patch be accepted?

The Qemu code generation depends (at least for now) heavily on GCC3 and
its particular behaviour. As long as this is the case I don't see the
point of replacing convenient GNU C extensions.

(Once you manage to get Qemu to work with a different compiler the case
for removing GNU C features will be stronger.)


Thiemo




reply via email to

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