From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18101 invoked by alias); 4 May 2004 00:18:33 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18075 invoked from network); 4 May 2004 00:18:33 -0000 Received: from unknown (HELO smtp3.fuse.net) (216.68.8.173) by sources.redhat.com with SMTP; 4 May 2004 00:18:33 -0000 Received: from dellpi.pinski.fam ([66.42.150.189]) by smtp3.fuse.net (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040504001831.MGYG16693.smtp3.fuse.net@dellpi.pinski.fam>; Mon, 3 May 2004 20:18:31 -0400 Received: from [10.0.0.80] (zhivago.i.pinski.fam [10.0.0.80]) by dellpi.pinski.fam (8.12.2/8.12.1) with ESMTP id i440IVxj023018; Mon, 3 May 2004 20:18:31 -0400 (EDT) In-Reply-To: <20040504001507.GW16083@gnat.com> References: <6D50AA83-9D4F-11D8-9EB6-000393A6D2F2@physics.uc.edu> <20040504001507.GW16083@gnat.com> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <91A9039B-9D60-11D8-9EB6-000393A6D2F2@physics.uc.edu> Content-Transfer-Encoding: 7bit Cc: Andrew Pinski , gdb-patches@sources.redhat.com From: Andrew Pinski Subject: Re: [RFC/dwarf-2] Add support for included files Date: Tue, 04 May 2004 00:18:00 -0000 To: Joel Brobecker X-SW-Source: 2004-05/txt/msg00085.txt.bz2 On May 3, 2004, at 20:15, Joel Brobecker wrote: >> /home/gates/pinskia/src/gnu/combinesources/src/gdb/dwarf2read.c: In >> function `dwarf2_create_include_psymtab': >> /home/gates/pinskia/src/gnu/combinesources/src/gdb/dwarf2read.c:1244: >> error: invalid lvalue in assignment > > Sorry about that, this error didn't show up with the compiler I used. > I just built one straight from mainline and could reproduce the error. > Apparently, expressions like this are not legal? > > (char *) something = NULL; Yes that is invalid C, it was deprecated in 3.4.0 (which warns about the usage) and removed on the mainline. Thanks for fast fixing the problem. -Andrew Pinski