This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: build/1895: GDB 6.3 does not compile with GCC 4 snapshots
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 9 Mar 2005 00:48:00 -0000
- Subject: Re: build/1895: GDB 6.3 does not compile with GCC 4 snapshots
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR build/1895; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: halcyon@whiterapid.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: build/1895: GDB 6.3 does not compile with GCC 4 snapshots
Date: Tue, 8 Mar 2005 19:42:28 -0500
On Wed, Mar 09, 2005 at 12:32:57AM -0000, halcyon@whiterapid.com wrote:
>
> >Number: 1895
> >Category: build
> >Synopsis: GDB 6.3 does not compile with GCC 4 snapshots
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: change-request
> >Submitter-Id: net
> >Arrival-Date: Wed Mar 09 00:38:01 UTC 2005
> >Closed-Date:
> >Last-Modified:
> >Originator: halcyon@whiterapid.com
> >Release: gdb 6.3
> >Organization:
> >Environment:
>
> >Description:
> ./printcmd.c:1060: error: invalid lvalue in assignment
> .......
> ./printcmd.c:1103: error: invalid lvalue in assignment
> >How-To-Repeat:
> Compile GDB 6.3 with the latest gcc4 snapshot
Those lines in gdb 6.3 are:
1.1 (shebs 16-Apr-99): error ("Argument required.");
and
1.1 (shebs 16-Apr-99): return;
Are there patches applied to your source tree? Did they introduce the
bad assignments?
--
Daniel Jacobowitz
CodeSourcery, LLC