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

[Xen-devel] sched_sedf printf formatting warnings

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] sched_sedf printf formatting warnings
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Mon, 09 May 2005 16:44:02 -0500
Delivery-date: Mon, 09 May 2005 21:45:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)
With the new sched_sedf.c, I get a whole host of these:

sched_sedf.c: In function `extraq_add_sort_update':
sched_sedf.c:183: warning: long long int format, s_time_t arg (arg 5)
sched_sedf.c: In function `__del_from_queue':
sched_sedf.c:269: warning: long long unsigned int format, s_time_t arg
(arg 4)
[...]

And since we have -Wall -Werror, the build fails.

Not sure what the right fix is here. I think Linux defined its own %z
for size_t printf arguments... Of course, there is always casting.

-- 
Hollis Blanchard
IBM Linux Technology Center

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

<Prev in Thread] Current Thread [Next in Thread>