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:51:03 +0100
Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 27 May 2011 23:19:27 -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=1h+qBB6L62Skswi8QOx4+Ysb5/BDr41pEg0Ls5aPINE=; b=h0/SgBuk1VsckgJTIeTEQ/MUt0q/IFML9gAxIZ/+QAG58P3TFiM+5V35aW87uQRTqn M/rDhTPwrjl5E4a0S/7XOtDT2Vj9LyvqnWvbzMgI5p7n+YO7+idUs7SzqESNHipdd6w4 NjEh/tXh5o2gkh5PR13b+um2rUSURdI5QSCis=
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=wqR3X2yiqOJyBC6g7xgHlWbsUyXyvo128OlBM0eUDlizArSTInPkW3Eh75VsNpXKF9 TX33oM96Lye/O5rWXwMGC4Ltb9GzUkLdbyowWIcRwaO2JTre6XkceBTLtfZOjxsLMxzz oB3ec/evSKd7tt1EWr0J2uTW0qzsIC0/bzZyo=
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: AcwcfX/yZ+oDNokKnkCOWG7ag+JNKw==
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

Hm, well, I don't care that much about this, my first patch was good enough.
I've checked in a variant of it as c/s 23432. Please check it works okay for
you. It's simple enough to be a candidate for 4.1.1 also.

 -- Keir

> $ gcc -print-file-name=a
> a



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