Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNCeO-0004pT-Dv for qemu-devel@nongnu.org; Thu, 07 Feb 2008 14:43:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNCeL-0004in-DT for qemu-devel@nongnu.org; Thu, 07 Feb 2008 14:43:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNCeL-0004iP-7E for qemu-devel@nongnu.org; Thu, 07 Feb 2008 14:43:09 -0500 Received: from comtv.ru ([217.10.32.17]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNCeK-0007XX-TP for qemu-devel@nongnu.org; Thu, 07 Feb 2008 14:43:09 -0500 Date: Thu, 7 Feb 2008 22:42:55 +0300 (MSK) From: malc Subject: Re: [Qemu-devel] [PATCH] avoid name clashes due to LIST_* macros In-Reply-To: <18346.65295.41102.495219@mariner.uk.xensource.com> Message-ID: References: <18328.31569.260208.382120@mariner.uk.xensource.com> <47AA0723.7050701@codemonkey.ws> <18346.56361.659608.694217@mariner.uk.xensource.com> <18346.65295.41102.495219@mariner.uk.xensource.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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, not at all. Just that when a clash happens something sensible > should be done: one or the other should be renamed. A bit of history: audio/sys-qemu.h only exists because when i was working on Windows side of things plain wasn't available for Mingw (maybe things changed since then) so i took the liberty of copying the header from my linux system and using it. It would have been interesting if was part of Mingw because i doubt that you would have pushed for changing the system supplied header. Anyway that was just to put things into perspective. >> Now, if you seriously want to integrate the audiosubsystem with something >> in the Linux kernel, you might rename the macros. But unless you >> contribute that code, and people like it, I guess you will not stand much >> of a chance to get the renaming patch into QEmu. > > This problem is not theoretical. I wouldn't be arguing about it > otherwise. Without this change, our minios qemu does not build. -- mailto:av1474@comtv.ru