krime / serf

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

serf won't build with gcc-2.95 #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
export CC=gcc-2.95
prefix=$HOME
./buildconf --with-apr=../apr-1.2.8 --with-apr-util=../apr-util-1.2.8
./configure --prefix=$prefix --enable-maintainer-mode --enable-debug
--with-apr=$prefix --with-apr-util=$prefix --with-openssl=$prefix
make

gcc-2.95 doesn't support variable declarations that aren't at the start of
a block.  Any C compiler that isn't up to the latest standard will have the
same problem.

Patch attached. (Oops.  There's an extra serf-response.c bit in there that
doesn't have anything to do with gcc.).

-Dan C

Original issue reported on code.google.com by DanChris...@gmail.com on 2 Jul 2007 at 7:01

Attachments:

GoogleCodeExporter commented 9 years ago
Committed in r 1119. Thanks Dan!

Original comment by chemodax@gmail.com on 2 Jul 2007 at 7:14