[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Mini-os fbfront.c unused variable complaint



John McDermott CIV writes ("Re: [Xen-devel] Mini-os fbfront.c unused variable 
complaint"):
> There is also an unused variable warning in xenbus/xenbus.c. I think the 
> compiler should not be warning about this, as the reasonable definition of 
> the local DEBUG macro is the cause? Anyways, here is an ugly fix that shows 
> where the problem is raised. I tried the old trick of defining the variables 
> as volatile, but the new gcc won't let it go by. It won't hurt my feelings if 
> you don't use this patch.

Urgh, that "fix" really is very ugly as you say.  I think I'm sold on
disable the warning.

Ian.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.