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

another compiler error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2000-09-08 15:11:22 CEST


I don't want to be a nuisance, so just ignore this if you feel you don't have
time with this!

My guess is that one you have forgot to commit a local change in the
'subversion/include/svn_delta.h' file. Namely the svn_read_fn_t typedef,
which is used in the include/svn_fs.h file.

make[1]: Entering directory `/home/dast/src/subversion/subversion/libsvn_fs'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../.. -I../include -I../../apr/include -I../../expat-lite
-I/home/dast/src/subversion/db-3.1.17/build_unix -g -O2 -c fs.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I../../apr/include
-I../../expat-lite -I/home/dast/src/subversion/db-3.1.17/build_unix -g -O2
-Wp,-MD,.deps/fs.pp -c fs.c -o fs.o
In file included from fs.h:59,
                 from fs.c:60:
../include/svn_fs.h:277: parse error before `*'
make[1]: *** [fs.lo] Error 1
make[1]: Leaving directory `/home/dast/src/subversion/subversion/libsvn_fs'

The problematic section in the svn_fs.h file is this:

[from line 270 something]
/* Set *CONTENTS to a `read'-like function which will return the
   contents of FILE; see the description of svn_read_fn_t in
   `svn_delta.h'. Set *CONTENTS_BATON to a baton to pass to CONTENTS. *
svn_error_t *svn_fs_file_contents (svn_read_fn_t **contents,
                                   void **contents_baton,
                                   svn_fs_file_t *file);

% grep -c svn_read_fn_t include/svn_delta.h

... and no other header file seems to have it either.

      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Sat Oct 21 14:36:07 2006

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