This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build/1895: GDB 6.3 does not compile with GCC 4 snapshots


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]