From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gd9fc-0002HE-Vn for qemu-devel@nongnu.org; Thu, 26 Oct 2006 14:09:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gd9fY-0002GP-W7 for qemu-devel@nongnu.org; Thu, 26 Oct 2006 14:09:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gd9fY-0002GJ-Qz for qemu-devel@nongnu.org; Thu, 26 Oct 2006 14:09:32 -0400 Received: from [66.93.172.17] (helo=nevyn.them.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gd9fY-0007iM-7q for qemu-devel@nongnu.org; Thu, 26 Oct 2006 14:09:32 -0400 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Gd9fX-00033c-Cy for qemu-devel@nongnu.org; Thu, 26 Oct 2006 14:09:31 -0400 Date: Thu, 26 Oct 2006 14:09:31 -0400 From: Daniel Jacobowitz Subject: Re: [Qemu-devel] qemu vs gcc4 Message-ID: <20061026180931.GA11583@nevyn.them.org> References: <45391B22.1050608@palmsource.com> <200610241939.06772.rob@landley.net> <200610250124.50202.paul@codesourcery.com> <200610251539.19061.rob@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610251539.19061.rob@landley.net> 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 On Wed, Oct 25, 2006 at 03:39:18PM -0400, Rob Landley wrote: > gcc -Wall -O2 -g -fno-strict-aliasing -I. -I.. -I/home/landley/qemu/nowt.dyndns.org/qemu/target-sparc -I/home/landley/qemu/nowt.dyndns.org/qemu -I/home/landley/qemu/nowt.dyndns.org/qemu/host-i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/landley/qemu/nowt.dyndns.org/qemu/fpu -I/home/landley/qemu/nowt.dyndns.org/qemu/slirp -c -o > tcx.o /home/landley/qemu/nowt.dyndns.org/qemu/hw/tcx.c > /home/landley/qemu/nowt.dyndns.org/qemu/hw/tcx.c: In > function ???tcx_draw_line32???: > /home/landley/qemu/nowt.dyndns.org/qemu/hw/tcx.c:94: error: invalid lvalue in > increment > /home/landley/qemu/nowt.dyndns.org/qemu/hw/tcx.c: In > function ???tcx_draw_line16???: > /home/landley/qemu/nowt.dyndns.org/qemu/hw/tcx.c:106: error: invalid lvalue in > increment This is an unrelated problem, and much easier to fix. Don't increment casts. -- Daniel Jacobowitz CodeSourcery