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

Re: svn trunk r15052: FAIL (win32 ra_local)

From: <kfogel_at_collab.net>
Date: 2005-06-14 20:25:03 CEST

Hmmm. It looks like my r15051 changes caused the breakage below
(search for "libsvn_ra_dav\commit.c" below). But I'm puzzled about
the error message. It's like the compiler (or preprocessor) is saying
that it doesn't even understand the "#if" syntax.

I mean, in retrospect, r15051 *should* be causing a problem for our
Windows builds, because the new configury magic to detect Neon 0.25.0
verses 0.24.7 is only written for Unix (oops, my bad). However, the
error message below doesn't look like it comes from that problem, but
from some other, weirder problem. I am truly puzzled; any ideas?

By the way, the fact that the r15051 conditional compilation guards
use "#if" not "#ifdef" should be okay: any macro name remaining after
expansion is replaced with 0L by the preprocessor, so if
SVN_NEON_0_25_0 isn't defined at all, then all those conditionals
should simply evaluate to false.

-Karl

V400 <carl@personnelware.com> writes:
> Last 100 lines of the build log (full log attached):
>
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\cat.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\checkout.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\cleanup.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\commit.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\commit_util.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\copy.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\ctx.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\delete.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\diff.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\export.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\externals.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\info.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\locking_commands.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\log.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\ls.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\prop_commands.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\ra.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\relocate.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\repos_diff.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\resolved.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\revert.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\revisions.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\simple_providers.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\ssl_client_cert_providers.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\ssl_client_cert_pw_providers.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\ssl_server_trust_providers.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\status.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\switch.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\update.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\url.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\username_providers.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_client\version.obj"
> --------------------Configuration: libsvn_diff - Win32 Release--------------------
> Compiling...
> diff.c
> diff3.c
> diff4.c
> diff_file.c
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(151) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(165) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(167) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(204) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(258) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(307) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(399) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(410) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
> lcs.c
> token.c
> util.c
> Generating Code...
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(399) : warning C4761: integral size mismatch in argument; conversion supplied
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(410) : warning C4761: integral size mismatch in argument; conversion supplied
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(151) : warning C4761: integral size mismatch in argument; conversion supplied
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(165) : warning C4761: integral size mismatch in argument; conversion supplied
> D:\svnbuild\src-trunk\subversion\libsvn_diff\diff_file.c(167) : warning C4761: integral size mismatch in argument; conversion supplied
> Creating library...
> Microsoft (R) Library Manager Version 6.00.8447
> Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
> "/out:..\..\..\Release\subversion\libsvn_diff\libsvn_diff-1.lib"
> "\svnbuild\src-trunk\Release\subversion\libsvn_diff\diff.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_diff\diff3.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_diff\diff4.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_diff\diff_file.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_diff\lcs.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_diff\token.obj"
> "\svnbuild\src-trunk\Release\subversion\libsvn_diff\util.obj"
> --------------------Configuration: libsvn_ra - Win32 Release--------------------
> Compiling...
> ra_loader.c
> Creating library...
> Microsoft (R) Library Manager Version 6.00.8447
> Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
> --------------------Configuration: libsvn_ra_dav - Win32 Release--------------------
> Compiling...
> commit.c
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(217) : error C2121: '#' : invalid character : possibly the result of a macro expansion
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(217) : error C2059: syntax error : 'if'
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(217) : error C2121: '#' : invalid character : possibly the result of a macro expansion
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(223) : error C2143: syntax error : missing '{' before '*'
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(228) : warning C4133: 'return' : incompatible types - from 'struct svn_error_t *' to 'int *'
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(896) : error C2121: '#' : invalid character : possibly the result of a macro expansion
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(896) : error C2059: syntax error : 'if'
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(896) : error C2121: '#' : invalid character : possibly the result of a macro expansion
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(1477) : warning C4133: 'initializing' : incompatible types - from 'int *' to 'struct svn_error_t *'
> D:\svnbuild\src-trunk\subversion\libsvn_ra_dav\commit.c(1491) : warning C4133: 'return' : incompatible types - from 'int *' to 'struct svn_error_t *'
> fetch.c
> file_revs.c
> log.c
> merge.c
> options.c
> props.c
> session.c
> util.c
> Generating Code...
> Error executing cl.exe.
>
> __ALL_TESTS__ - 7 error(s), 35 warning(s)
>
> *** Whoops, something choked.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 14 21:07:59 2005

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