This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Bug#300945: romeo: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment



On Apr 2, 2005, at 4:53 PM, Shaun Jackman wrote:


Can the GCC "C Extension" of "Generalized Lvalues" be enabled with a
switch in gcc-4.0?

No.



Cheers, Shaun

On Mar 22, 2005 12:29 PM, Andreas Jochens <aj@andaco.de> wrote:
Package: romeo
Severity: normal
Tags: patch

When building 'romeo' on amd64 with gcc-4.0,
I get the following error:

assemble.c:581: error: invalid lvalue in assignment
assemble.c: In function 'MergeIfAdjacent':
assemble.c:645: error: invalid lvalue in assignment
assemble.c:647: error: invalid lvalue in assignment
assemble.c:649: error: invalid lvalue in assignment
assemble.c: In function 'ROMfree':
assemble.c:710: error: invalid lvalue in assignment
assemble.c:720: error: invalid lvalue in assignment
assemble.c:744: error: invalid lvalue in assignment
assemble.c:745: error: invalid lvalue in assignment
assemble.c: In function 'CompareTypeCtor':
assemble.c:1420: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
assemble.c:1420: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
assemble.c: In function 'SetSystem':
assemble.c:1504: warning: pointer targets in initialization differ in signedness
assemble.c:1597: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
assemble.c:1606: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
make[1]: *** [assemble.o] Error 1
make[1]: Leaving directory `/romeo-0.5.0'
make: *** [build-stamp] Error 2


With the attached patch 'romeo' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens
[clip patch]



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