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

Re: svn commit: r38183 - trunk/subversion/libsvn_ra_serf

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: Wed, 24 Jun 2009 14:27:17 +0200

On Wed, Jun 24, 2009 at 2:13 PM, Stefan Sperling<stsp_at_elego.de> wrote:
> Author: stsp
> Date: Wed Jun 24 05:13:33 2009
> New Revision: 38183
>
> Log:
> Fix build.
>
> * subversion/libsvn_ra_serf/ra_serf.h
>  (svn_ra_serf__authn_types): Declare this only once. The forward
>   declaration that was here didn't make gcc happy, and it complained
>   as follows:
>
>   subversion/libsvn_ra_serf/ra_serf.h:181: error: field ‘authn_types’ \
>     has incomplete type
>   subversion/libsvn_ra_serf/ra_serf.h:1435: error: conflicting types \
>     for ‘svn_ra_serf__authn_types’
>   subversion/libsvn_ra_serf/ra_serf.h:64: error: previous declaration \
>     of ‘svn_ra_serf__authn_types’ was here
>
> Modified:
>   trunk/subversion/libsvn_ra_serf/ra_serf.h
>
> Modified: trunk/subversion/libsvn_ra_serf/ra_serf.h
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_ra_serf/ra_serf.h?pathrev=38183&r1=38182&r2=38183
> ==============================================================================
> --- trunk/subversion/libsvn_ra_serf/ra_serf.h   Wed Jun 24 02:22:10 2009        (r38182)
> +++ trunk/subversion/libsvn_ra_serf/ra_serf.h   Wed Jun 24 05:13:33 2009        (r38183)
> @@ -61,7 +61,16 @@ extern "C" {
>  /* Forward declarations. */
>  typedef struct svn_ra_serf__session_t svn_ra_serf__session_t;
>  typedef struct svn_ra_serf__auth_protocol_t svn_ra_serf__auth_protocol_t;
> -typedef enum svn_ra_serf__authn_types svn_ra_serf__authn_types;

I wasn't really sure if that was going to work, but Visual Studio
didn't give any problems.

Thanks for fixing it.

Lieven

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2364910
Received on 2009-06-24 14:27:37 CEST

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.