|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Mini-os fbfront.c unused variable complaint
Ian,
I would expect most use of mini-os would involve lots of locally hacking the
source anyways (we do) and likely to raise this warning again. So it is
probably the best choice to disable?
Sincerely,
John
----
On Feb 9, 2012, at 12:20 PM, Ian Jackson wrote:
> 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.
----
What is the formal meaning of the one-line program
#include "/dev/tty"
J.P. McDermott building 12
Code 5542 john.mcdermott@xxxxxxxxxxxx
Naval Research Laboratory voice: +1 202.404.8301
Washington, DC 20375, US fax: +1 202.404.7942
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |