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

Re: Compilation Trouble - session.c

From: Sam TH <sam_at_uchicago.edu>
Date: 2000-12-02 01:34:46 CET

On Fri, Dec 01, 2000 at 12:27:07PM -0600, Ben Collins-Sussman wrote:
>
> Sorry, this is a temporary oopsie; I wrote an interface in svn_ra.h
> yesterday, Greg S. critiqued it, then I changed it. What I *didn't*
> realize is that Greg had already started using the old interface!

Well, reverting to version 1.17 fixed that problem, so now I get to
the next issue. The compile fails in ra-dav-test.c like so:

make[4]: Entering directory `/home/sam/subversion/subversion/libsvn_ra_dav/tests'
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I../../../apr/include -D_REENTRANT -pthread -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wshadow -Wredundant-decls -DSVN_DEBUG -DAP_DEBUG -g -Wall -c ra-dav-test.c
ra-dav-test.c: In function `main':
ra-dav-test.c:30: `svn_ra_session_t' undeclared (first use in this function)
ra-dav-test.c:30: (Each undeclared identifier is reported only once
ra-dav-test.c:30: for each function it appears in.)
ra-dav-test.c:30: `ras' undeclared (first use in this function)
ra-dav-test.c:30: warning: statement with no effect
ra-dav-test.c:31: parse error before `const'
ra-dav-test.c:48: `url' undeclared (first use in this function)
ra-dav-test.c:49: `dir' undeclared (first use in this function)
ra-dav-test.c:51: warning: implicit declaration of function `svn_ra_open'
ra-dav-test.c:51: warning: assignment makes pointer from integer without a cast
ra-dav-test.c:58: `repos' undeclared (first use in this function)
ra-dav-test.c:61: `anc_path' undeclared (first use in this function)
ra-dav-test.c:64: `revision' undeclared (first use in this function)
ra-dav-test.c:68: `editor' undeclared (first use in this function)
ra-dav-test.c:68: `edit_baton' undeclared (first use in this function)
ra-dav-test.c:72: warning: implicit declaration of function `svn_ra_checkout'
ra-dav-test.c:72: warning: assignment makes pointer from integer without a cast
ra-dav-test.c:80: warning: implicit declaration of function `svn_ra_close'

svn_ra_session_t seems to be declared in ra_dav.h, but the compiler
was unable to find that when I tried to include it.

Thanks
           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://www.abisource.com/~sam/key

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:16 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.