All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] case A ... B:
       [not found] <6540790d0707231927r1bd9925bx14940e8fc667037e@mail.gmail.com>
@ 2007-07-24 21:43 ` Nathaniel Filardo
  2007-07-24 22:10   ` Paul Brook
  2007-07-24 22:29   ` Thiemo Seufer
  0 siblings, 2 replies; 3+ messages in thread
From: Nathaniel Filardo @ 2007-07-24 21:43 UTC (permalink / raw)
  To: qemu-devel

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?

Thanks much.
--nwf;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] case A ... B:
  2007-07-24 21:43 ` [Qemu-devel] case A ... B: Nathaniel Filardo
@ 2007-07-24 22:10   ` Paul Brook
  2007-07-24 22:29   ` Thiemo Seufer
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Brook @ 2007-07-24 22:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: Nathaniel Filardo

On Tuesday 24 July 2007, 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?

qemu already required other gcc extensions for dyngen to work, so IMHO there's 
no point removing the other extensions until you remove that.

Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] case A ... B:
  2007-07-24 21:43 ` [Qemu-devel] case A ... B: Nathaniel Filardo
  2007-07-24 22:10   ` Paul Brook
@ 2007-07-24 22:29   ` Thiemo Seufer
  1 sibling, 0 replies; 3+ messages in thread
From: Thiemo Seufer @ 2007-07-24 22:29 UTC (permalink / raw)
  To: Nathaniel Filardo; +Cc: qemu-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-24 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <6540790d0707231927r1bd9925bx14940e8fc667037e@mail.gmail.com>
2007-07-24 21:43 ` [Qemu-devel] case A ... B: Nathaniel Filardo
2007-07-24 22:10   ` Paul Brook
2007-07-24 22:29   ` Thiemo Seufer

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.