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

Re: Compiling problems with ra_dav on Win32

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-08-15 10:38:38 CEST

On Tue, Aug 14, 2001 at 11:40:22PM -0700, Bill Tutt wrote:
> I'd have looked into fixes, but wasn't sure whether I should given
> Karl's pronouncement.

Tweaks like this are quite fine. Karl's simply trying to preclude somebody
checking in a new mechanism for storing WC information :-)

>...
> Compiling...
> commit.c
> c:\svn\subversion\subversion\libsvn_ra_dav\commit.c(361) : warning
> C4090: 'function' : different 'const' qualifiers
> c:\svn\subversion\subversion\libsvn_ra_dav\commit.c(361) : warning
> C4022: 'ne_add_response_header_handler' : pointer mismatch for actual
> parameter 4

No idea here. It seems like it thinks "const char **" cannot be passed as a
"void *". Bogus, but that might be it. Try adding a void* cast in there to
see what happens. If it shuts the thing down, then go ahead. (with a comment
on why the cast exists)

> ....
> session.c
> c:\svn\subversion\subversion\libsvn_ra_dav\session.c(146) : warning
> C4013: 'strcasecmp' undefined; assuming extern returning int

Try adding #include <apr_general.h> to the top of the file. Hopefully, that
will fix it.

If the changes work, then go ahead and check them in.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:36 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.