Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Co8mp-0005CN-Ak for qemu-devel@nongnu.org; Mon, 10 Jan 2005 18:17:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Co8ma-00055i-6J for qemu-devel@nongnu.org; Mon, 10 Jan 2005 18:17:08 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Co8mZ-000506-SX for qemu-devel@nongnu.org; Mon, 10 Jan 2005 18:17:07 -0500 Received: from [212.63.36.242] (helo=gwyn.kn-bremen.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Co8FV-0000WW-Ko for qemu-devel@nongnu.org; Mon, 10 Jan 2005 17:42:58 -0500 Received: from gwyn.kn-bremen.de (uucp@gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.12.9/8.12.9/Debian-5) with ESMTP id j0AMgqO4023684 for ; Mon, 10 Jan 2005 23:42:52 +0100 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.12.9/8.12.8/Debian-1) with UUCP id j0AMgpxb023682 for qemu-devel@nongnu.org; Mon, 10 Jan 2005 23:42:51 +0100 Received: (from nox@localhost) by saturn.kn-bremen.de (8.11.4/8.8.5) id j0AMuE499469 for qemu-devel@nongnu.org; Mon, 10 Jan 2005 23:56:14 +0100 (CET) From: Juergen Lock Date: Mon, 10 Jan 2005 23:56:08 +0100 Message-ID: <20050110235608.A98521@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] qemu cvs warnings Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi! building from cvs i get a few warnings that may be noteworthy: 1. gcc33 -I/usr/local/include -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -mpreferred-stack-boundary=2 -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386 -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSMBD=\"/usr/local/sbin/smbd\" -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/slirp -c -o op.o /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/op.c In file included from /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/exec.h:143, from /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/op.c:22: /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/exec-all.h:319:1: warning: "ASM_NAME" redefined In file included from /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/exec.h:21, from /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/op.c:22: /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/dyngen-exec.h:214:1: warning: this is the location of the previous definition (and some more of these with other files) 2. gcc33 -I/usr/local/include -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-ppc -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSMBD=\"/usr/local/sbin/smbd\" -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/slirp -c -o openpic.o /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/hw/openpic.c /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/hw/openpic.c: In function `openpic_timer_write': /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/hw/openpic.c:632: warning: integer constant is too large for "long" type this seems to be a bug (one digit too many): Index: qemu/hw/openpic.c @@ -629,7 +629,7 @@ break; case 0x10: /* TIBC */ if ((opp->timers[idx].ticc & 0x80000000) != 0 && - (val & 0x800000000) == 0 && + (val & 0x80000000) == 0 && (opp->timers[idx].tibc & 0x80000000) != 0) opp->timers[idx].ticc &= ~0x80000000; opp->timers[idx].tibc = val; 3. gcc33 -I/usr/local/include -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -mpreferred-stack-boundary=2 -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386 -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSMBD=\"/usr/local/sbin/smbd\" -I/usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/slirp -c -o op.o /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/op.c ... In file included from /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/op.c:733: /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/ops_template.h: In function `compute_all_incq': /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/ops_template.h:182: warning: integer constant is too large for "long" type In file included from /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/op.c:733: /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/ops_template.h: In function `compute_all_decq': /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/ops_template.h:204: warning: integer constant is too large for "long" type In file included from /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/op.c:733: /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/ops_template.h: In function `op_shrq_T0_T1': /usr/ports/emulators/qemu/work/qemu-snapshot-2005-01-09_23/target-i386/ops_template.h:436: warning: integer constant is too large for "long" type and many more of these, which all seem to be caused by the definition of DATA_MASK for the DATA_BITS == 64 case: #define DATA_MASK 0xffffffffffffffff I guess this should be #define DATA_MASK 0xffffffffffffffffLL (maybe it doesnt really matter because the constant gets sign-extended, but still...) Juergen