This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1895: GDB 6.3 does not compile with GCC 4 snapshots
- From: halcyon at whiterapid dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 9 Mar 2005 00:32:57 -0000
- Subject: build/1895: GDB 6.3 does not compile with GCC 4 snapshots
- Reply-to: halcyon at whiterapid dot com
>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
>Fix:
lvalue casts have been a warning for awhile, now they are errors. Changing the code around so the casts don't occur on the left hand side resolves the issue. I'm just unsure how to change it all around to do the same thing.
>Release-Note:
>Audit-Trail:
>Unformatted: