krime / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
1 stars 0 forks source link

serf 0.6.1 build fails with gcc 4.1.2 and greater #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ensure gcc version is 4.x
2. configure && make

What is the expected output? What do you see instead?

gcc 4.1.2 error
  ../serf-0.6.1/outgoing.c: In function ‘socket_writev’:
  ../serf-0.6.1/outgoing.c:473: error: invalid lvalue in assignment

gcc 4.4.3 error
  ../serf-0.6.1/outgoing.c: In function ‘socket_writev’:
  ../serf-0.6.1/outgoing.c:473: error: lvalue required as left operand of assignment

gcc 3.4.6 warning (FYI)
  ../serf-0.6.1/outgoing.c: In function `socket_writev':
  ../serf-0.6.1/outgoing.c:473: warning: use of cast expressions as lvalues is deprecated

What version of the product are you using? On what operating system?
serf 0.6.1 built on Fedora 8 using gcc 4.1.2 and Fedora 12 using gcc 4.4.3.  
gcc 3.4.6 warnings generated from Fedora 12.

Please provide any additional information below.

Original issue reported on code.google.com by released...@gmail.com on 16 Jun 2010 at 7:28

GoogleCodeExporter commented 9 years ago
Same problem when compiling subversion.

Original comment by archon810 on 21 Jun 2010 at 8:29

GoogleCodeExporter commented 9 years ago
This issue has been fixed on trunk in r1372, and was backported to the 0.6.x 
branch.

I'll leave this issue open untill 0.6.2 has been released to avoid further 
duplicates.

Thanks for the report!

Original comment by lieven.govaerts@gmail.com on 21 Jun 2010 at 12:12

GoogleCodeExporter commented 9 years ago
(This is really a dup of 57 which should get cleared in 0.6.2.)

Original comment by justin.e...@gmail.com on 20 Aug 2010 at 6:15