Skip to contentSkip to conversation

gcc: warnings being treated as errors , how to close it ?

DISCUSSION Sucan 1 participant 1 message May 3, 2009

lore
Share & tools
lore

Sucan

author
#0 lore raw

hello, everyone,

when i compile xen source use "sudo make world".
it generate following error:

gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -m32 -Wdeclaration-after-statement -o symbols symbols.c
cc1: warnings being treated as errors

how do i close it? let warnings not being treated as errors?

my linux dist is Ubuntu 9.04, gcc vertion is 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ,xen vertion is 3.2

Signature · 3 lines
Best regards,
Sucan
Computer Department,Beijing Institute of Technology,China

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel