WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] printk: cc1 warnings being treated as errors
From: "john bryant" <bryant.johan@xxxxxxxxx>
Date: Thu, 13 Mar 2008 10:44:48 -0400
Delivery-date: Thu, 13 Mar 2008 07:45:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=QP5/QYbx+MQqKZRi/CXw9YAtMmYiE/Nkqf8oVYbqqQ0=; b=KwFnVw7/fj8dIw9I595daiYDWVflem+p14bA+H4czc9xLEZotzR+yVJFn5SN6vIPYDOkV73bXA606hDlwzXX986hK3j/2iZpYrkbdZ26lMLtl7ylhkSwUoRCJwyv2lRZVtM3TemeSbpx1h58pkdn0yLcHqeYCiYIYh/zotv35Nw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=WIaOUmkVYz847F3okHNkhvWe6oUlD4FdrdwqD9YPhfzcfGeCmKhEqQF39L/stplrI630Solq4clLvmRBtvHlcS+ZGSaxOkppZ4F4lZDgZoP/57ys8QCUCP+9bx80tcxcwSuhYNsQG5r0g7lZA1pmlj8jUyj6bBfC5UcHg/Llj0Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] printk: cc1 warnings being treated as errors, john bryant <=