[RFC] dirstate walk speedup

Alexis S. L. Carvalho alexis at cecm.usp.br
Sat Oct 6 13:46:07 CDT 2007


Thus spake Christian Ebert:
> * Christian Ebert on Saturday, October 06, 2007 at 02:09:44 +0200
> > On MacOS 10.4.10 build fails like so:
> > 
> > building 'mercurial.osutil' extension
> > gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.5 -c mercurial/osutil.c -o build/temp.macosx-10.4-ppc-2.5/mercurial/osutil.o
> > mercurial/osutil.c: In function ‘listdir’:
> > mercurial/osutil.c:150: warning: implicit declaration of function ‘readdir64’
> > mercurial/osutil.c:150: warning: assignment makes pointer from integer without a cast
> > mercurial/osutil.c:157: error: dereferencing pointer to incomplete type
> > mercurial/osutil.c:157: error: dereferencing pointer to incomplete type
> > mercurial/osutil.c:164: error: dereferencing pointer to incomplete type
> > mercurial/osutil.c:185: error: dereferencing pointer to incomplete type
> > error: command 'gcc' failed with exit status 1
> 
> BTW, I get the same error when I use the shipped Python 2.3.
> 
> And, yes, I use the patch from crew.

Changeset ecde0b7e0b3f should fix this.

Alexis


More information about the Mercurial-devel mailing list