[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Fwd: Error while compiling with new RR scheduler
Hi, I figured out that the error was because of a missing ' ; ' . This has been fixed now. I have attached the modified code. While compiling I am getting the below error message. cc1: warnings being treated as errors sched_rrobin.c: In function ‘rrobin_schedule’: sched_rrobin.c:74: error: ‘ret.task’ may be used uninitialized in this function Please guide. Thanks & Regards Ananth
---------- Forwarded message ---------- From: Ananth <cbananth@xxxxxxxxx> Date: Fri, Apr 24, 2009 at 7:25 PM Subject: Error while compiling with new RR scheduler To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> Hi, Please find attached the source code of Round Robin scheduler which I am trying to add to Xen 3.3.1. I am facing the following error messages while compiling the same. sched_rrobin.c:31: error: two or more data types in declaration specifiers sched_rrobin.c: In function ‘rrobin_vcpu_init’: sched_rrobin.c:34: error: incompatible types in return sched_rrobin.c:51: error: incompatible types in return sched_rrobin.c:94: error: initialization from incompatible pointer type I believe the error in line 94 is causing the rest of the error messages. I have checked with the structure definition in sched-if.h as well as the implementation of the same in other schedulers such as SEDF and Credit. Request you to kindly provide your feedback regarding the same. Thanks & Regards Ananth Attachment:
sched_rrobin.c _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |