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

Re: [neon] Re: Subversion/Neon win32 compilation

From: Yves Martin <yves.martin_at_elca.ch>
Date: 2007-03-30 10:10:51 CEST

On Thu, 2007-03-29 at 16:10 +0200, Ulrich Eckhardt wrote:
> > util.c
> > ..\..\..\subversion\libsvn_ra_dav\util.c(688) : warning C4133:
> > 'function' : incompatible types - from 'void (__cdecl *)(void *,const
> > char *,size_t)' to 'ne_block_reader'
>
> Incompatible function pointers are an invitation for f***up. Note: for MS
> Windows, the calling convention (__cdecl) is also an important part of the
> function signature!
>
> Disclaimer: I have never compiled neon or SVN on win32.

Thank you Ulrich for your answer.
Have you got a proposal how to fix these issues ?
Errors are marked on function pointer affectation but the "__cdecl"
keyword is never explicitly written in any sources files.

It seems "ne_decompress_reader" has four parameters in signature and the
compiler expect only 3 ??

I'm trying to build Subversion 1.4.x (branch) with Neon 0.26.x (branch)
as latest win32 releases are built with 0.26.3. But errors are the same
with 0.25.x

I really wonder who compiles win32 binary for Subversion and how ;)

Thank you in advance for any help.
Best regards,

-- 
Yves Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 30 10:11:20 2007

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.