[Xapian-devel] trunk build failure on msvc

Mark Hammond mhammond at skippinet.com.au
Thu Apr 12 05:07:12 BST 2007

I'm currently seeing:

c:\src\xapian\xapian-core\common\utils.h(84) : error C2061: syntax error :
identifier 'mode_t'
c:\src\xapian\xapian-core\common\utils.h(85) : error C2065: 'mode' :
undeclared identifier

I *think* I've done everything correctly this time in terms of updating svn
and rebuilding :)

My solution was to add:

typedef int mode_t;

to safestat.h - and I guess the signature of mkdir in that file should
change to mode_t too?



More information about the Xapian-devel mailing list