Skip to contentSkip to conversation

printk: cc1 warnings being treated as errors

DISCUSSION john bryant 1 participant 1 message Mar 13, 2008

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-users