Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros

2008-02-07 Thread malc
On Thu, 7 Feb 2008, Ian Jackson wrote: Johannes Schindelin writes ("Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros"): Read what you wrote. By that reasoning you cannot use _any_ name in qemu, because qemu should bend over to be mixable with other code. No,

Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros

2008-02-07 Thread Ian Jackson
Johannes Schindelin writes ("Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros"): > Read what you wrote. By that reasoning you cannot use _any_ name in qemu, > because qemu should bend over to be mixable with other code. No, not at all. Just that when a clash h

Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros

2008-02-07 Thread Johannes Schindelin
Hi, On Thu, 7 Feb 2008, Ian Jackson wrote: > Anthony Liguori writes ("Re: [Qemu-devel] [PATCH] avoid name clashes due to > LIST_* macros"): > > Ian Jackson wrote: > > > > > qemu's audio subdirectory contains a copy of BSD's sys-queue.h, > >

Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros

2008-02-07 Thread Ian Jackson
Anthony Liguori writes ("Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros"): > Ian Jackson wrote: > > qemu's audio subdirectory contains a copy of BSD's sys-queue.h, which > > defines a bunch of LIST_ macros. This makes it difficult to build a

Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros

2008-02-06 Thread Anthony Liguori
Ian Jackson wrote: qemu's audio subdirectory contains a copy of BSD's sys-queue.h, which defines a bunch of LIST_ macros. This makes it difficult to build a program made partly out of qemu and partly out of the Linux kernel[1], since Linux has a different set of LIST_ macros. It might also caus

[Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros

2008-01-24 Thread Ian Jackson
qemu's audio subdirectory contains a copy of BSD's sys-queue.h, which defines a bunch of LIST_ macros. This makes it difficult to build a program made partly out of qemu and partly out of the Linux kernel[1], since Linux has a different set of LIST_ macros. It might also cause trouble when mixing