From: Sucan Subject: gcc: warnings being treated as errors , how to close it ? Date: Sun, 3 May 2009 13:33:16 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0696835493==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0696835493== Content-Type: multipart/alternative; boundary=0016361e8890243c510468fb6336 --0016361e8890243c510468fb6336 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 -- Best regards, Sucan Computer Department,Beijing Institute of Technology,China --0016361e8890243c510468fb6336 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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
--
Best regards,
Sucan
Computer Department,Beijing Institute of Technology,China
--0016361e8890243c510468fb6336-- --===============0696835493== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0696835493==--