From: "john bryant" Subject: printk: cc1 warnings being treated as errors Date: Thu, 13 Mar 2008 10:44:48 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1610830710==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: "xen-users@lists.xensource.com" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1610830710== Content-Type: multipart/alternative; boundary="----=_Part_20119_12097839.1205419488823" ------=_Part_20119_12097839.1205419488823 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_20119_12097839.1205419488823 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_20119_12097839.1205419488823-- --===============1610830710== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1610830710==--