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

[PATCH] Declare callbacks2 at top of scope in compat_open (was: Re: svn trunk r16039: FAIL (win32 ra_local))

From: David James <james82_at_gmail.com>
Date: 2005-09-04 20:06:44 CEST

On 9/4/05, D.J. Heap <djheap@gmail.com> wrote:
> It appears some non-compliant code has crept into in wrapper_template.h:
> d:\svnbuild\src-trunk\subversion\libsvn_ra_svn\../libsvn_ra/wrapper_template.h(62)
> : error C2275: 'svn_ra_callbacks2_t' : illegal use of this type as an
> expression
> The variable is not being declared at the top of the scope and MSVC, at
> least, is not happy about it.

Does the attached patch help?


* subversion/libsvn_ra/wrapper_template.h:
  (compat_open): Move declaration of callbacks2 to top of function




David James -- http://www.cs.toronto.edu/~james

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Sep 4 20:07:18 2005

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.