[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

cannot compile with serf trunk

From: Edmund Wong <edmund_at_belfordhk.com>
Date: Mon, 28 Sep 2009 14:47:03 +0800

Hi,

Seeing as I've been having some problems with using
the serf library (0.3.0), and taking a clue from
the thread:

http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2396028

I checked out the trunk of serf via:

http://code.google.com/p/serf/source/checkout

So it is now Serf 0.4.0.

When I do a 'nmake all1', I get the following:

..\..\..\subversion\libsvn_ra_serf\update.c(2155): warning C4113:
'serf_bucket_t *(__cdecl *)(apr_socket_t *,void *,apr_pool_t *)' differs
in parameter lists
from 'serf_connection_setup_t'
..\..\..\subversion\libsvn_ra_serf\update.c(2155): error C4047:
'function' : 'serf_connection_setup_t' differs in levels of indirection
from 'serf_bucket_t *(__cdecl *)(apr_socket_t *,void *,apr_pool_t *)'
..\..\..\subversion\libsvn_ra_serf\update.c(2155): error C4024:
'serf_connection_create' : different types for formal and actual parameter 3

It then stops compiling. I don't know enough of the serf library
to fix this yet, so I was wondering if someone might have a clue
as how I might be able to patch this, especially that '
differs in levels of indirection'.

Thanks

Edmund

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2401037
Received on 2009-09-28 08:54:01 CEST

This is an archived mail posted to the Subversion Dev mailing list.