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

[Xen-users] printk: cc1 warnings being treated as errors



Hi,

I was trying to write printk statements in x86_emulate.c and I am getting following error.

cc1: warnings being treated as errors
x86_emulate.c: In function 'x86_emulate':
x86_emulate.c:2913: warning: ISO C90 forbids mixed declarations and code
x86_emulate.c:2939: warning: ISO C90 forbids mixed declarations and code

Yes, I know probably I can make changes in Makefile to remove strict checking option. Is there any work around for the same.

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

 


Rackspace

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