Received: from eggs.gnu.org ([2001:4830:134:3::10]:33594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnOAj-0000l9-4Q for qemu-devel@nongnu.org; Fri, 14 Jun 2013 03:11:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnOAh-0007KB-Dr for qemu-devel@nongnu.org; Fri, 14 Jun 2013 03:11:45 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:41267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnOAh-0007JC-5Z for qemu-devel@nongnu.org; Fri, 14 Jun 2013 03:11:43 -0400 Message-ID: <51BAC225.6090703@msgid.tls.msk.ru> Date: Fri, 14 Jun 2013 11:11:33 +0400 From: Michael Tokarev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] hw/ssi/xilinx_spips.c:52:1: warning: "CS" redefined List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , "Edgar E. Iglesias" , qemu-devel This warning is produced when compiling qemu on solaris (openindiana). /usr/include/sys/regset.h:98:1: warning: this is the location of the previous definition (I don't know how regset.h is included) The code reads: ... #define MANUAL_CS (1 << 14) #define CS (0xF << 10) #define CS_SHIFT (10) ... And other than the #define, this constant is never used. There are a few usages of CS_SHIFT (shouldn't it be used when defining CS too?) and MANUAL_CS. A few other constants defined in there, like, for example, IFMODE, are not used too. Can we get rid of this so-likely-to-clash-with-something definition? Thanks, /mjt