WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc
From: Keir Fraser <keir@xxxxxxx>
Date: Fri, 27 May 2011 15:41:32 +0100
Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 27 May 2011 11:37:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:user-agent:date:subject:from:to:cc :message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type:content-transfer-encoding; bh=h8DDTcHi9LBTeDnxFr2G/fotU88H0Ek54aaNC5+f5Og=; b=l5Uu5FFKi4JHog9xg2nJJtqE9ukt57q3V4Gm4hIqfwHuOuXmF198Vm9YFesZD4Us6G uO9b1LCkwjujMWU9EgoKyps/j5XQQLOo5rpCUsqAFLN2N3BRwkHJGkkYPlo8dIb50jwJ 9QjtnyECmTplRxPkXO52VK3XB8CjEHwCCthIs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=e95dFd4VO3D+2haubvX/qgDKd3DAxEM1pZMpESvncbSj0XPfF+3qtakmnHVC12Wwk9 wL3t/jHF5CNmg/upGiw/2bBI1krgXxKcFEGarZEu3+NlLGcNpJeO3cf5DIikpm1+1E81 qykKYPidzKAa3i4M2esNZpAfslDxGj0NYJnjQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DDFAFBB.50607@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwcfCuaw34TOvbFqUmc2Q7UTs5VrQ==
Thread-topic: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc
User-agent: Microsoft-Entourage/12.29.0.110113
On 27/05/2011 15:05, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

>> Something like the attached patch? I don't know whether this would work for
>> clang too -- cc'ing Tim who will know or can try it out.
>> 
>> I wouldn't backport this one to 4.1, but my first patch was a cleanup plus
>> BSD-specific changes, so a variant on that would be suitable for 4.0/4.1,
>> with (if it works) this new one in unstable.
> 
> $ clang -print-file-name=include
> include
> $ gcc -print-file-name=include
> include
> $ gcc -print-file-name=a
> a

Well that's quite broken...

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel